VirtualBox

Changeset 16843 in vbox


Ignore:
Timestamp:
Feb 17, 2009 1:57:19 PM (16 years ago)
Author:
vboxsync
Message:

Fixed breakage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp

    r16840 r16843  
    342342            case PGMMODE_32_BIT:
    343343            {
     344#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    344345                PX86PD pShw32BitPd = (PX86PD)PGMPOOL_PAGE_2_PTR_BY_PGM(&pVM->pgm.s, pShwPageCR3);
     346#else
     347                PX86PD pShw32BitPd = pgmShwGet32BitPDPtr(&pVM->pgm.s);
     348#endif
    345349                AssertFatal(pShw32BitPd);
    346350
     
    357361                const unsigned iPD = iOldPDE / 256;         /* iOldPDE * 2 / 512; iOldPDE is in 4 MB pages */
    358362                unsigned iPDE = iOldPDE * 2 % 512;
     363#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    359364                pPdpt     = (PX86PDPT)PGMPOOL_PAGE_2_PTR_BY_PGM(&pVM->pgm.s, pShwPageCR3);
    360365                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
    361370                AssertFatal(pShwPaePd);
    362371
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette