VirtualBox

Changeset 74693 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 9, 2018 5:15:41 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 VM-exit bits; Added Mov DRx intercepts. Fixed INS/OUTS intercept to compute and store the missing guest-linear address field.

File:
1 edited

Legend:

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

    r74683 r74693  
    25042504#define VMXINSTRID_IO_OUT                                       (0x16 | VMXINSTRID_VALID)
    25052505#define VMXINSTRID_IO_OUTS                                      (0x17 | VMXINSTRID_VALID)
     2506#define VMXINSTRID_MOV_TO_DRX                                   (0x18 | VMXINSTRID_VALID)
     2507#define VMXINSTRID_MOV_FROM_DRX                                 (0x19 | VMXINSTRID_VALID)
    25062508/** @} */
    25072509
     
    26122614/** 8-11: General purpose register number. */
    26132615#define VMX_EXIT_QUAL_DRX_GENREG(a)                             (((a) >> 8) & 0xf)
    2614 /** Rest: reserved. */
     2616
     2617/** Bit fields for Exit qualification due to Mov DRx. */
     2618#define VMX_BF_EXIT_QUAL_DRX_REGISTER_SHIFT                     0
     2619#define VMX_BF_EXIT_QUAL_DRX_REGISTER_MASK                      UINT64_C(0x0000000000000007)
     2620#define VMX_BF_EXIT_QUAL_DRX_RSVD_1_SHIFT                       3
     2621#define VMX_BF_EXIT_QUAL_DRX_RSVD_1_MASK                        UINT64_C(0x0000000000000008)
     2622#define VMX_BF_EXIT_QUAL_DRX_DIRECTION_SHIFT                    4
     2623#define VMX_BF_EXIT_QUAL_DRX_DIRECTION_MASK                     UINT64_C(0x0000000000000010)
     2624#define VMX_BF_EXIT_QUAL_DRX_RSVD_5_7_SHIFT                     5
     2625#define VMX_BF_EXIT_QUAL_DRX_RSVD_5_7_MASK                      UINT64_C(0x00000000000000e0)
     2626#define VMX_BF_EXIT_QUAL_DRX_GENREG_SHIFT                       8
     2627#define VMX_BF_EXIT_QUAL_DRX_GENREG_MASK                        UINT64_C(0x0000000000000f00)
     2628#define VMX_BF_EXIT_QUAL_DRX_RSVD_12_63_SHIFT                   12
     2629#define VMX_BF_EXIT_QUAL_DRX_RSVD_12_63_MASK                    UINT64_C(0xfffffffffffff000)
     2630RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_EXIT_QUAL_DRX_, UINT64_C(0), UINT64_MAX,
     2631                            (REGISTER, RSVD_1, DIRECTION, RSVD_5_7, GENREG, RSVD_12_63));
    26152632/** @} */
    26162633
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