Changeset 91358 in vbox for trunk/include
- Timestamp:
- Sep 24, 2021 9:49:20 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 147028
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r91357 r91358 1665 1665 #define MSR_IA32_VMX_EPT_VPID_CAP_PAGE_WALK_LENGTH_5 RT_BIT_64(7) 1666 1666 /** Supports EPT paging-structure memory type to be uncacheable. */ 1667 #define MSR_IA32_VMX_EPT_VPID_CAP_ EMT_UCRT_BIT_64(8)1667 #define MSR_IA32_VMX_EPT_VPID_CAP_MEMTYPE_UC RT_BIT_64(8) 1668 1668 /** Supports EPT paging structure memory type to be write-back. */ 1669 #define MSR_IA32_VMX_EPT_VPID_CAP_ EMT_WBRT_BIT_64(14)1669 #define MSR_IA32_VMX_EPT_VPID_CAP_MEMTYPE_WB RT_BIT_64(14) 1670 1670 /** Supports EPT PDE to map a 2 MB page. */ 1671 1671 #define MSR_IA32_VMX_EPT_VPID_CAP_PDE_2M RT_BIT_64(16) … … 1675 1675 #define MSR_IA32_VMX_EPT_VPID_CAP_INVEPT RT_BIT_64(20) 1676 1676 /** Supports accessed and dirty flags for EPT. */ 1677 #define MSR_IA32_VMX_EPT_VPID_CAP_ EPT_ACCESS_DIRTYRT_BIT_64(21)1677 #define MSR_IA32_VMX_EPT_VPID_CAP_ACCESS_DIRTY RT_BIT_64(21) 1678 1678 /** Supports advanced VM-exit info. for EPT violations. */ 1679 #define MSR_IA32_VMX_EPT_VPID_CAP_ADVEXITINFO_EPT 1679 #define MSR_IA32_VMX_EPT_VPID_CAP_ADVEXITINFO_EPT_VIOLATION RT_BIT_64(22) 1680 1680 /** Supports supervisor shadow-stack control. */ 1681 1681 #define MSR_IA32_VMX_EPT_VPID_CAP_SUPER_SHW_STACK RT_BIT_64(23) … … 1704 1704 #define VMX_BF_EPT_VPID_CAP_RSVD_7_SHIFT 7 1705 1705 #define VMX_BF_EPT_VPID_CAP_RSVD_7_MASK UINT64_C(0x0000000000000080) 1706 #define VMX_BF_EPT_VPID_CAP_ EMT_UC_SHIFT81707 #define VMX_BF_EPT_VPID_CAP_ EMT_UC_MASKUINT64_C(0x0000000000000100)1706 #define VMX_BF_EPT_VPID_CAP_MEMTYPE_UC_SHIFT 8 1707 #define VMX_BF_EPT_VPID_CAP_MEMTYPE_UC_MASK UINT64_C(0x0000000000000100) 1708 1708 #define VMX_BF_EPT_VPID_CAP_RSVD_9_13_SHIFT 9 1709 1709 #define VMX_BF_EPT_VPID_CAP_RSVD_9_13_MASK UINT64_C(0x0000000000003e00) 1710 #define VMX_BF_EPT_VPID_CAP_ EMT_WB_SHIFT141711 #define VMX_BF_EPT_VPID_CAP_ EMT_WB_MASKUINT64_C(0x0000000000004000)1710 #define VMX_BF_EPT_VPID_CAP_MEMTYPE_WB_SHIFT 14 1711 #define VMX_BF_EPT_VPID_CAP_MEMTYPE_WB_MASK UINT64_C(0x0000000000004000) 1712 1712 #define VMX_BF_EPT_VPID_CAP_RSVD_15_SHIFT 15 1713 1713 #define VMX_BF_EPT_VPID_CAP_RSVD_15_MASK UINT64_C(0x0000000000008000) … … 1720 1720 #define VMX_BF_EPT_VPID_CAP_INVEPT_SHIFT 20 1721 1721 #define VMX_BF_EPT_VPID_CAP_INVEPT_MASK UINT64_C(0x0000000000100000) 1722 #define VMX_BF_EPT_VPID_CAP_ EPT_ACCESS_DIRTY_SHIFT211723 #define VMX_BF_EPT_VPID_CAP_ EPT_ACCESS_DIRTY_MASKUINT64_C(0x0000000000200000)1724 #define VMX_BF_EPT_VPID_CAP_ADVEXITINFO_EPT_ SHIFT221725 #define VMX_BF_EPT_VPID_CAP_ADVEXITINFO_EPT_ MASKUINT64_C(0x0000000000400000)1722 #define VMX_BF_EPT_VPID_CAP_ACCESS_DIRTY_SHIFT 21 1723 #define VMX_BF_EPT_VPID_CAP_ACCESS_DIRTY_MASK UINT64_C(0x0000000000200000) 1724 #define VMX_BF_EPT_VPID_CAP_ADVEXITINFO_EPT_VIOLATION_SHIFT 22 1725 #define VMX_BF_EPT_VPID_CAP_ADVEXITINFO_EPT_VIOLATION_MASK UINT64_C(0x0000000000400000) 1726 1726 #define VMX_BF_EPT_VPID_CAP_SUPER_SHW_STACK_SHIFT 23 1727 1727 #define VMX_BF_EPT_VPID_CAP_SUPER_SHW_STACK_MASK UINT64_C(0x0000000000800000) … … 1749 1749 #define VMX_BF_EPT_VPID_CAP_RSVD_44_63_MASK UINT64_C(0xfffff00000000000) 1750 1750 RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_EPT_VPID_CAP_, UINT64_C(0), UINT64_MAX, 1751 (RWX_X_ONLY, RSVD_1_5, PAGE_WALK_LENGTH_4, RSVD_7, EMT_UC, RSVD_9_13, EMT_WB, RSVD_15, PDE_2M,1752 PDPTE_1G, RSVD_18_19, INVEPT, EPT_ACCESS_DIRTY, ADVEXITINFO_EPT, SUPER_SHW_STACK, RSVD_24,1751 (RWX_X_ONLY, RSVD_1_5, PAGE_WALK_LENGTH_4, RSVD_7, MEMTYPE_UC, RSVD_9_13, MEMTYPE_WB, RSVD_15, PDE_2M, 1752 PDPTE_1G, RSVD_18_19, INVEPT, ACCESS_DIRTY, ADVEXITINFO_EPT_VIOLATION, SUPER_SHW_STACK, RSVD_24, 1753 1753 INVEPT_SINGLE_CTX, INVEPT_ALL_CTX, RSVD_27_31, INVVPID, RSVD_33_39, INVVPID_INDIV_ADDR, 1754 1754 INVVPID_SINGLE_CTX, INVVPID_ALL_CTX, INVVPID_SINGLE_CTX_RETAIN_GLOBALS, RSVD_44_63));
Note:
See TracChangeset
for help on using the changeset viewer.