VirtualBox

Changeset 74683 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 8, 2018 3:13:52 PM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 VM-exit bits; Add task switch intercept.

File:
1 edited

Legend:

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

    r74667 r74683  
    26872687/** Task switch caused by an interrupt gate. */
    26882688#define VMX_EXIT_QUAL_TASK_SWITCH_TYPE_IDT                      3
     2689
     2690/** Bit fields for Exit qualification for task switches. */
     2691#define VMX_BF_EXIT_QUAL_TASK_SWITCH_NEW_TSS_SHIFT              0
     2692#define VMX_BF_EXIT_QUAL_TASK_SWITCH_NEW_TSS_MASK               UINT64_C(0x000000000000ffff)
     2693#define VMX_BF_EXIT_QUAL_TASK_SWITCH_RSVD_16_29_SHIFT           16
     2694#define VMX_BF_EXIT_QUAL_TASK_SWITCH_RSVD_16_29_MASK            UINT64_C(0x000000003fff0000)
     2695#define VMX_BF_EXIT_QUAL_TASK_SWITCH_SOURCE_SHIFT               30
     2696#define VMX_BF_EXIT_QUAL_TASK_SWITCH_SOURCE_MASK                UINT64_C(0x00000000c0000000)
     2697#define VMX_BF_EXIT_QUAL_TASK_SWITCH_RSVD_32_63_SHIFT           32
     2698#define VMX_BF_EXIT_QUAL_TASK_SWITCH_RSVD_32_63_MASK            UINT64_C(0xffffffff00000000)
     2699RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_EXIT_QUAL_TASK_SWITCH_, UINT64_C(0), UINT64_MAX,
     2700                            (NEW_TSS, RSVD_16_29, SOURCE, RSVD_32_63));
    26892701/** @} */
    26902702
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