VirtualBox

Changeset 30822 in vbox


Ignore:
Timestamp:
Jul 14, 2010 11:56:42 AM (15 years ago)
Author:
vboxsync
Message:

This was meant instead

File:
1 edited

Legend:

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

    r30821 r30822  
    32813281             * Check that it's not in any of the TLBs.
    32823282             */
    3283             PVM pVM = (PVM)pvUser;
     3283            PVM pVM = (PGMR3PHYSCHUNKUNMAPCB()pvUser)->pVM;
    32843284            for (unsigned i = 0; i < RT_ELEMENTS(pVM->pgm.s.ChunkR3Map.Tlb.aEntries); i++)
    32853285                if (pVM->pgm.s.ChunkR3Map.Tlb.aEntries[i].pChunk == pChunk)
     
    33343334    Args.pVM = pVM;
    33353335    Args.pChunk = NULL;
    3336     if (RTAvllU32DoWithAll(&pVM->pgm.s.ChunkR3Map.pAgeTree, true /*fFromLeft*/, pgmR3PhysChunkUnmapCandidateCallback, pVM))
    3337         return Args.pChunk->Core.Key;
     3336    if (RTAvllU32DoWithAll(&pVM->pgm.s.ChunkR3Map.pAgeTree, true /*fFromLeft*/, pgmR3PhysChunkUnmapCandidateCallback, &Args))
     3337    {
     3338        Assert(Args.pChunk);
     3339        if (Args.pChunk)
     3340            return Args.pChunk->Core.Key;
     3341    }
    33383342    return INT32_MAX;
    33393343}
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