Changeset 9942 in vbox
- Timestamp:
- Jun 26, 2008 9:38:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r9941 r9942 2214 2214 PX86PD pPDDst = pVM->pgm.s.CTXMID(p,32BitPD); 2215 2215 # elif PGM_SHW_TYPE == PGM_TYPE_PAE 2216 const unsigned iPDDst = GCPtrPage >> SHW_PD_SHIFT; 2216 const unsigned iPDDst = GCPtrPage >> SHW_PD_SHIFT; /* 0 - 2047 */ 2217 2217 const unsigned iPdpte = (GCPtrPage >> X86_PDPT_SHIFT); 2218 2218 PX86PDPT pPdptDst = pVM->pgm.s.CTXMID(p,PaePDPT); … … 3112 3112 if (pVM->pgm.s.CTXMID(p,PaePDPT)->a[iPdpte].n.u1Present) 3113 3113 { 3114 LogFlow(("SyncCR3: guest PDPE %d not present; clear shw pdpe\n", iPdpte)); 3114 3115 /* for each page directory entry */ 3115 3116 for (unsigned iPD = 0; iPD < ELEMENTS(pPDSrc->a); iPD++) … … 3251 3252 # if PGM_SHW_TYPE == PGM_TYPE_PAE && PGM_GST_TYPE == PGM_TYPE_32BIT 3252 3253 for (unsigned i = 0, iPdShw = iPD * 2; i < 2; i++, iPdShw++) /* pray that the compiler unrolls this */ 3254 # elif PGM_GST_TYPE == PGM_TYPE_PAE 3255 const unsigned iPdShw = iPD + iPdpte * X86_PG_PAE_ENTRIES; NOREF(iPdShw); 3253 3256 # else 3254 3257 const unsigned iPdShw = iPD; NOREF(iPdShw); … … 3350 3353 # if PGM_SHW_TYPE == PGM_TYPE_PAE && PGM_GST_TYPE == PGM_TYPE_32BIT 3351 3354 for (unsigned i = 0, iPdShw = iPD * 2; i < 2; i++, iPdShw++) /* pray that the compiler unrolls this */ 3355 # elif PGM_GST_TYPE == PGM_TYPE_PAE 3356 const unsigned iPdShw = iPD + iPdpte * X86_PG_PAE_ENTRIES; NOREF(iPdShw); 3352 3357 # else 3353 3358 const unsigned iPdShw = iPD; NOREF(iPdShw);
Note:
See TracChangeset
for help on using the changeset viewer.