VirtualBox

Changeset 18986 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 17, 2009 12:13:30 PM (16 years ago)
Author:
vboxsync
Message:

Fixed virtual handler update regression.

File:
1 edited

Legend:

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

    r18984 r18986  
    17221722         * the heap size should suffice. */
    17231723        AssertFatalRC(rc);
    1724         Assert(!(pVM->pgm.s.fGlobalSyncFlags & PGM_SYNC_CLEAR_PGM_POOL) || VM_FF_ISSET(pVM, VM_FF_PGM_SYNC_CR3));
     1724        Assert(!(pVM->pgm.s.fGlobalSyncFlags & PGM_GLOBAL_SYNC_CLEAR_PGM_POOL) || VM_FF_ISSET(pVM, VM_FF_PGM_SYNC_CR3));
    17251725    }
    17261726    pPage->fMonitored = true;
     
    18191819        rc = PGMHandlerPhysicalDeregister(pVM, pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1));
    18201820        AssertFatalRC(rc);
    1821         AssertMsg(!(pVM->pgm.s.fGlobalSyncFlags & PGM_SYNC_CLEAR_PGM_POOL) || VM_FF_ISSET(pVM, VM_FF_PGM_SYNC_CR3),
     1821        AssertMsg(!(pVM->pgm.s.fGlobalSyncFlags & PGM_GLOBAL_SYNC_CLEAR_PGM_POOL) || VM_FF_ISSET(pVM, VM_FF_PGM_SYNC_CR3),
    18221822                  ("%#x %#x\n", pVM->pgm.s.fGlobalSyncFlags, pVM->fForcedActions));
    18231823    }
     
    20702070     * sometimes refered to as a 'lightweight flush'.
    20712071     */
    2072     if (!(pVM->pgm.s.fGlobalSyncFlags & PGM_SYNC_CLEAR_PGM_POOL))
     2072    if (!(pVM->pgm.s.fGlobalSyncFlags & PGM_GLOBAL_SYNC_CLEAR_PGM_POOL))
    20732073        pgmPoolMonitorModifiedClearAll(pVM);
    20742074    else
     
    20772077        /** @todo SMP support! */
    20782078        Assert(pVM->cCPUs == 1);
    2079         pVM->pgm.s.fGlobalSyncFlags &= ~PGM_SYNC_CLEAR_PGM_POOL;
     2079        pVM->pgm.s.fGlobalSyncFlags &= ~PGM_GLOBAL_SYNC_CLEAR_PGM_POOL;
    20802080        pgmPoolClearAll(pVM);
    20812081# else  /* !IN_RING3 */
    2082         LogFlow(("SyncCR3: PGM_SYNC_CLEAR_PGM_POOL is set -> VINF_PGM_SYNC_CR3\n"));
     2082        LogFlow(("SyncCR3: PGM_GLOBAL_SYNC_CLEAR_PGM_POOL is set -> VINF_PGM_SYNC_CR3\n"));
    20832083        VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); /** @todo no need to do global sync, right? */
    20842084        return VINF_PGM_SYNC_CR3;
     
    27132713    if (rc == VINF_PGM_GCPHYS_ALIASED)
    27142714    {
    2715         pVM->pgm.s.fGlobalSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL;
     2715        pVM->pgm.s.fGlobalSyncFlags |= PGM_GLOBAL_SYNC_CLEAR_PGM_POOL;
    27162716        VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3);
    27172717        rc = VINF_PGM_SYNC_CR3;
     
    42074207    /** @todo CSAM/PGMPrefetchPage messes up here during CSAMR3CheckGates
    42084208     *  (TRPMR3SyncIDT) because of FF priority. Try fix that?
    4209      *  Assert(!(pVM->pgm.s.fGlobalSyncFlags & PGM_SYNC_CLEAR_PGM_POOL)); */
     4209     *  Assert(!(pVM->pgm.s.fGlobalSyncFlags & PGM_GLOBAL_SYNC_CLEAR_PGM_POOL)); */
    42104210
    42114211#ifdef PGMPOOL_WITH_CACHE
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