VirtualBox

Changeset 79652 in vbox for trunk/include


Ignore:
Timestamp:
Jul 10, 2019 6:09:44 AM (6 years ago)
Author:
vboxsync
Message:

hm_vmx.h: Nested VMX: bugref:9180 Added VMX_EXIT_INT_INFO_IS_XCPT_NMI for upcoming changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r79647 r79652  
    26452645#define VMX_EXIT_INT_INFO_VALID                                 RT_BIT(31)
    26462646#define VMX_EXIT_INT_INFO_IS_VALID(a)                           (((a) >> 31) & 1)
     2647
     2648/** If the VM-exit interruption information field indicates an NMI. */
     2649#define VMX_EXIT_INT_INFO_IS_XCPT_NMI(a)                        (((a) & (  VMX_BF_EXIT_INT_INFO_VALID_MASK \
     2650                                                                         | VMX_BF_EXIT_INT_INFO_TYPE_MASK \
     2651                                                                         | VMX_BF_EXIT_INT_INFO_VECTOR_MASK)) \
     2652                                                                     == (  RT_BF_MAKE(VMX_BF_EXIT_INT_INFO_VALID,  1) \
     2653                                                                         | RT_BF_MAKE(VMX_BF_EXIT_INT_INFO_TYPE,   VMX_EXIT_INT_INFO_TYPE_NMI) \
     2654                                                                         | RT_BF_MAKE(VMX_BF_EXIT_INT_INFO_VECTOR, X86_XCPT_NMI)))
     2655
    26472656
    26482657/** Bit fields for VM-exit interruption infomration. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette