Changeset 32009 in vbox for trunk/include
- Timestamp:
- Aug 26, 2010 4:41:19 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65256
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hwacc_vmx.h
r32000 r32009 140 140 141 141 /** Bits 12-51 - - EPT - Physical Page number of the next level. */ 142 #define EPT_PDPTE_PG_MASK X86_PDPE_PG_MASK _FULL142 #define EPT_PDPTE_PG_MASK X86_PDPE_PG_MASK 143 143 /** The page shift to get the PDPT index. */ 144 144 #define EPT_PDPT_SHIFT X86_PDPT_SHIFT -
trunk/include/VBox/x86.h
r32000 r32009 1658 1658 #define X86_PDPE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 1659 1659 /** Bits 12-51 - - PAE - Physical Page number of the next level. */ 1660 #if 1 /* we're using this internally and have to mask of the top 16-bit. */1661 #define X86_PDPE_PG_MASK UINT64_C(0x0000fffffffff000)1662 /** @todo Get rid of the above hack; makes code unreadable. */1663 #define X86_PDPE_PG_MASK_FULL UINT64_C(0x000ffffffffff000)1664 #else1665 1660 #define X86_PDPE_PG_MASK UINT64_C(0x000ffffffffff000) 1666 #endif1667 1661 /** Bits 63-52, 8-5, 2-1 - - PAE - MBZ bits (NX is long mode only). */ 1668 1662 #define X86_PDPE_PAE_MBZ_MASK UINT64_C(0xfff00000000001e6) -
trunk/include/VBox/x86.mac
r32000 r32009 426 426 %define X86_PDPE_LM_PS RT_BIT(7) 427 427 %define X86_PDPE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 428 %if 1429 %define X86_PDPE_PG_MASK 0x0000fffffffff000430 %define X86_PDPE_PG_MASK_FULL 0x000ffffffffff000431 %else432 428 %define X86_PDPE_PG_MASK 0x000ffffffffff000 433 %endif434 429 %define X86_PDPE_PAE_MBZ_MASK 0xfff00000000001e6 435 430 %define X86_PDPE_LM_NX RT_BIT_64(63)
Note:
See TracChangeset
for help on using the changeset viewer.