- Timestamp:
- Mar 31, 2008 1:43:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r7657 r7660 40 40 #undef GST_CR3_PAGE_MASK 41 41 42 #if PGM_GST_TYPE == PGM_TYPE_32BIT 42 #if PGM_GST_TYPE == PGM_TYPE_32BIT \ 43 || PGM_GST_TYPE == PGM_TYPE_REAL \ 44 || PGM_GST_TYPE == PGM_TYPE_PROT 43 45 # define GSTPT X86PT 44 46 # define PGSTPT PX86PT … … 60 62 # define GST_PT_MASK X86_PT_MASK 61 63 # define GST_CR3_PAGE_MASK X86_CR3_PAGE_MASK 62 #el se64 #elif PGM_GST_TYPE == PGM_TYPE_PAE 63 65 # define GSTPT X86PTPAE 64 66 # define PGSTPT PX86PTPAE … … 76 78 # define GST_PD_MASK X86_PD_PAE_MASK 77 79 # define GST_TOTAL_PD_ENTRIES (X86_PG_PAE_ENTRIES*4) 80 # define GST_PTE_PG_MASK X86_PTE_PAE_PG_MASK 81 # define GST_PT_SHIFT X86_PT_PAE_SHIFT 82 # define GST_PT_MASK X86_PT_PAE_MASK 83 # define GST_CR3_PAGE_MASK X86_CR3_PAE_PAGE_MASK 84 #elif PGM_GST_TYPE == PGM_TYPE_AMD64 85 /* @todo */ 86 # define GSTPT X86PTPAE 87 # define PGSTPT PX86PTPAE 88 # define GSTPTE X86PTEPAE 89 # define PGSTPTE PX86PTEPAE 90 # define GSTPD X86PDPAE 91 # define PGSTPD PX86PDPAE 92 # define GSTPDE X86PDEPAE 93 # define PGSTPDE PX86PDEPAE 94 # define GST_BIG_PAGE_SIZE X86_PAGE_2M_SIZE 95 # define GST_BIG_PAGE_OFFSET_MASK X86_PAGE_2M_OFFSET_MASK 96 # define GST_PDE_PG_MASK X86_PDE_PAE_PG_MASK 97 # define GST_PDE_BIG_PG_MASK X86_PDE2M_AMD64_PG_MASK 98 # define GST_PD_SHIFT X86_PD_PAE_SHIFT 99 # define GST_PD_MASK X86_PD_PAE_MASK 100 # define GST_TOTAL_PD_ENTRIES (X86_PG_PAE_ENTRIES*512) 78 101 # define GST_PTE_PG_MASK X86_PTE_PAE_PG_MASK 79 102 # define GST_PT_SHIFT X86_PT_PAE_SHIFT
Note:
See TracChangeset
for help on using the changeset viewer.