vbox的更動 17215 路徑 trunk/src/VBox/VMM/PGMGst.h
- 時間撮記:
- 2009-2-27 下午04:33:19 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/PGMGst.h
r16918 r17215 19 19 * additional information or have any questions. 20 20 */ 21 22 /*******************************************************************************23 * Defined Constants And Macros *24 *******************************************************************************/25 #undef GSTPT26 #undef PGSTPT27 #undef GSTPTE28 #undef PGSTPTE29 #undef GSTPD30 #undef PGSTPD31 #undef GSTPDE32 #undef PGSTPDE33 #undef GST_BIG_PAGE_SIZE34 #undef GST_BIG_PAGE_OFFSET_MASK35 #undef GST_PDE_PG_MASK36 #undef GST_PDE_BIG_PG_MASK37 #undef GST_PD_SHIFT38 #undef GST_PD_MASK39 #undef GST_PTE_PG_MASK40 #undef GST_PT_SHIFT41 #undef GST_PT_MASK42 #undef GST_TOTAL_PD_ENTRIES43 #undef GST_CR3_PAGE_MASK44 #undef GST_PDPE_ENTRIES45 #undef GST_GET_PDE_BIG_PG_GCPHYS46 47 #if PGM_GST_TYPE == PGM_TYPE_32BIT \48 || PGM_GST_TYPE == PGM_TYPE_REAL \49 || PGM_GST_TYPE == PGM_TYPE_PROT50 # define GSTPT X86PT51 # define PGSTPT PX86PT52 # define GSTPTE X86PTE53 # define PGSTPTE PX86PTE54 # define GSTPD X86PD55 # define PGSTPD PX86PD56 # define GSTPDE X86PDE57 # define PGSTPDE PX86PDE58 # define GST_BIG_PAGE_SIZE X86_PAGE_4M_SIZE59 # define GST_BIG_PAGE_OFFSET_MASK X86_PAGE_4M_OFFSET_MASK60 # define GST_PDE_PG_MASK X86_PDE_PG_MASK61 # define GST_PDE_BIG_PG_MASK X86_PDE4M_PG_MASK62 # define GST_GET_PDE_BIG_PG_GCPHYS(PdeGst) pgmGstGet4MBPhysPage(&pVM->pgm.s, PdeGst)63 # define GST_PD_SHIFT X86_PD_SHIFT64 # define GST_PD_MASK X86_PD_MASK65 # define GST_TOTAL_PD_ENTRIES X86_PG_ENTRIES66 # define GST_PTE_PG_MASK X86_PTE_PG_MASK67 # define GST_PT_SHIFT X86_PT_SHIFT68 # define GST_PT_MASK X86_PT_MASK69 # define GST_CR3_PAGE_MASK X86_CR3_PAGE_MASK70 71 #elif PGM_GST_TYPE == PGM_TYPE_PAE \72 || PGM_GST_TYPE == PGM_TYPE_AMD6473 # define GSTPT X86PTPAE74 # define PGSTPT PX86PTPAE75 # define GSTPTE X86PTEPAE76 # define PGSTPTE PX86PTEPAE77 # define GSTPD X86PDPAE78 # define PGSTPD PX86PDPAE79 # define GSTPDE X86PDEPAE80 # define PGSTPDE PX86PDEPAE81 # define GST_BIG_PAGE_SIZE X86_PAGE_2M_SIZE82 # define GST_BIG_PAGE_OFFSET_MASK X86_PAGE_2M_OFFSET_MASK83 # define GST_PDE_PG_MASK X86_PDE_PAE_PG_MASK84 # define GST_PDE_BIG_PG_MASK X86_PDE2M_PAE_PG_MASK85 # define GST_GET_PDE_BIG_PG_GCPHYS(PdeGst) (PdeGst.u & GST_PDE_BIG_PG_MASK)86 # define GST_PD_SHIFT X86_PD_PAE_SHIFT87 # define GST_PD_MASK X86_PD_PAE_MASK88 # if PGM_GST_TYPE == PGM_TYPE_PAE89 # define GST_TOTAL_PD_ENTRIES (X86_PG_PAE_ENTRIES * X86_PG_PAE_PDPE_ENTRIES)90 # define GST_PDPE_ENTRIES X86_PG_PAE_PDPE_ENTRIES91 # else92 # define GST_TOTAL_PD_ENTRIES (X86_PG_AMD64_ENTRIES * X86_PG_AMD64_PDPE_ENTRIES)93 # define GST_PDPE_ENTRIES X86_PG_AMD64_PDPE_ENTRIES94 # endif95 # define GST_PTE_PG_MASK X86_PTE_PAE_PG_MASK96 # define GST_PT_SHIFT X86_PT_PAE_SHIFT97 # define GST_PT_MASK X86_PT_PAE_MASK98 # define GST_CR3_PAGE_MASK X86_CR3_PAE_PAGE_MASK99 #endif100 21 101 22
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器