Changeset 32034 in vbox for trunk/include
- Timestamp:
- Aug 27, 2010 10:05:25 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65288
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hwacc_vmx.h
r32009 r32034 210 210 211 211 /** Bits 12-51 - - EPT - Physical Page number of the next level. */ 212 #define EPT_PDE_PG_MASK X86_PDE_PAE_PG_MASK _FULL212 #define EPT_PDE_PG_MASK X86_PDE_PAE_PG_MASK 213 213 /** The page shift to get the PD index. */ 214 214 #define EPT_PD_SHIFT X86_PD_PAE_SHIFT -
trunk/include/VBox/x86.h
r32009 r32034 1315 1315 1316 1316 /** Bits 12-51 - - PAE - Physical Page number of the next level. */ 1317 #if 1 /* we're using this internally and have to mask of the top 16-bit. */ 1318 /* Note: This is kind of dangerous if the guest uses these bits (legally or illegally); 1319 * we partly or that part into shadow page table entries. Will be corrected 1320 * soon. 1321 */ 1322 #define X86_PDE_PAE_PG_MASK ( 0x0000fffffffff000ULL ) 1323 #define X86_PDE_PAE_PG_MASK_FULL ( 0x000ffffffffff000ULL ) 1324 #else 1325 #define X86_PDE_PAE_PG_MASK ( 0x000ffffffffff000ULL ) 1326 #endif 1317 #define X86_PDE_PAE_PG_MASK UINT64_C(0x000ffffffffff000) 1327 1318 /** Bits 63 - NX - PAE/LM - No execution flag. */ 1328 1319 #define X86_PDE_PAE_NX RT_BIT_64(63) -
trunk/include/VBox/x86.mac
r32009 r32034 381 381 %define X86_PDE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11)) 382 382 %define X86_PDE_PG_MASK ( 0xfffff000 ) 383 %if 1384 %define X86_PDE_PAE_PG_MASK ( 0x0000fffffffff000 )385 %define X86_PDE_PAE_PG_MASK_FULL ( 0x000ffffffffff000 )386 %else387 383 %define X86_PDE_PAE_PG_MASK ( 0x000ffffffffff000 ) 388 %endif389 384 %define X86_PDE_PAE_NX RT_BIT_64(63) 390 385 %define X86_PDE_PAE_MBZ_MASK_NX 0x7ff0000000000080
Note:
See TracChangeset
for help on using the changeset viewer.