Changeset 16843 in vbox
- Timestamp:
- Feb 17, 2009 1:57:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r16840 r16843 342 342 case PGMMODE_32_BIT: 343 343 { 344 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 344 345 PX86PD pShw32BitPd = (PX86PD)PGMPOOL_PAGE_2_PTR_BY_PGM(&pVM->pgm.s, pShwPageCR3); 346 #else 347 PX86PD pShw32BitPd = pgmShwGet32BitPDPtr(&pVM->pgm.s); 348 #endif 345 349 AssertFatal(pShw32BitPd); 346 350 … … 357 361 const unsigned iPD = iOldPDE / 256; /* iOldPDE * 2 / 512; iOldPDE is in 4 MB pages */ 358 362 unsigned iPDE = iOldPDE * 2 % 512; 363 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY 359 364 pPdpt = (PX86PDPT)PGMPOOL_PAGE_2_PTR_BY_PGM(&pVM->pgm.s, pShwPageCR3); 360 365 pShwPaePd = pgmShwGetPaePDPtr(&pVM->pgm.s, pPdpt, (iPD << X86_PDPT_SHIFT)); 366 #else 367 pPdpt = pgmShwGetPaePDPTPtr(&pVM->pgm.s); 368 pShwPaePd = pgmShwGetPaePDPtr(&pVM->pgm.s, (iPD << X86_PDPT_SHIFT)); 369 #endif 361 370 AssertFatal(pShwPaePd); 362 371
Note:
See TracChangeset
for help on using the changeset viewer.