VirtualBox

Changeset 22710 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 2, 2009 11:48:57 AM (15 years ago)
Author:
vboxsync
Message:

Compile fixes

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r22709 r22710  
    377377        if (    PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage)
    378378#ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    379             ||  pgmPoolIsDirtyPage(pVM, GCPhys)
     379            ||  pgmPoolIsDirtyPage(pVM, *pGCPhys)
    380380#endif
    381381           )
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22709 r22710  
    16171617bool pgmPoolIsDirtyPage(PVM pVM, RTGCPHYS GCPhys)
    16181618{
     1619    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    16191620    if (!pPool->cDirtyPages)
    16201621        return false;
     
    16221623    for (unsigned i = 0; i < RT_ELEMENTS(pPool->aIdxDirtyPages); i++)
    16231624    {
    1624         if (pPool->aIdxDirtyPages[idxSlot] != NIL_PGMPOOL_IDX)
     1625        if (pPool->aIdxDirtyPages[i] != NIL_PGMPOOL_IDX)
    16251626        {
    16261627            PPGMPOOLPAGE pPage;
    1627             unsigned     idxPage = pPool->aIdxDirtyPages[idxSlot];
     1628            unsigned     idxPage = pPool->aIdxDirtyPages[i];
    16281629            AssertRelease(idxPage != NIL_PGMPOOL_IDX);
    16291630
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