Changeset 7705 in vbox
- Timestamp:
- Apr 2, 2008 3:27:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/x86.h
r7695 r7705 832 832 833 833 834 /** PAE page table/page directory/pdpt r/l4/l5 entry as an unsigned integer. */834 /** PAE page table/page directory/pdpt/l4/l5 entry as an unsigned integer. */ 835 835 typedef uint64_t X86PGPAEUINT; 836 /** Pointer to a PAE page table/page directory/pdpt r/l4/l5 entry as an unsigned integer. */836 /** Pointer to a PAE page table/page directory/pdpt/l4/l5 entry as an unsigned integer. */ 837 837 typedef X86PGPAEUINT *PX86PGPAEUINT; 838 838 839 /** Number of entries in a PAE PT/PD /PDPTR/L4/L5. */839 /** Number of entries in a PAE PT/PD. */ 840 840 #define X86_PG_PAE_ENTRIES 512 841 /** Number of entries in a PAE PDPT E. */841 /** Number of entries in a PAE PDPT. */ 842 842 #define X86_PG_PAE_PDPE_ENTRIES 4 843 843 844 /** Number of entries in an AMD64 PT/PD/PDPT R/L4/L5. */844 /** Number of entries in an AMD64 PT/PD/PDPT/L4/L5. */ 845 845 #define X86_PG_AMD64_ENTRIES X86_PG_PAE_ENTRIES 846 /** Number of entries in an AMD64 PDPTE. */ 847 #define X86_PG_AMD64_PDPE_ENTRIES 512 846 /** Number of entries in an AMD64 PDPT. 847 * Just for complementing X86_PG_PAE_PDPE_ENTRIES, using X86_PG_AMD64_ENTRIES for this is fine too. */ 848 #define X86_PG_AMD64_PDPE_ENTRIES X86_PG_AMD64_ENTRIES 848 849 849 850 /** The size of a 4KB page. */ … … 908 909 #define X86_PTE_PG_MASK ( 0xfffff000 ) 909 910 910 /** Bits 12- 36- - PAE - Physical Page number of the next level. */911 /** Bits 12-51 - - PAE - Physical Page number of the next level. */ 911 912 #if 1 /* we're using this internally and have to mask of the top 16-bit. */ 912 913 #define X86_PTE_PAE_PG_MASK ( 0x0000fffffffff000ULL ) … … 1219 1220 #define X86_PDE4M_PG_HIGH_SHIFT 19 1220 1221 1221 /** Bits 21-51 - - PAE & AMD64 - Physical Page number. (bits 40-51 (long mode) & bits 36-51 (pae legacy) are reserved according to the Intel docs; AMD allows for more) */ 1222 /** Bits 21-51 - - PAE & AMD64 - Physical Page number. 1223 * (Bits 40-51 (long mode) & bits 36-51 (pae legacy) are reserved according to the Intel docs; AMD allows for more.) */ 1222 1224 #define X86_PDE2M_PAE_PG_MASK ( 0x000fffffffe00000ULL ) 1223 1225 /** Bits 63 - NX - PAE & AMD64 - No execution flag. */ … … 1484 1486 /** 1485 1487 * Page directory pointer table. 1488 * @todo Rename to PDPT - The 'r' in PDPTR is 'register' according to the intel docs. 1486 1489 */ 1487 1490 typedef struct X86PDPTR
Note:
See TracChangeset
for help on using the changeset viewer.