VirtualBox

Changeset 27369 in vbox


Ignore:
Timestamp:
Mar 15, 2010 3:42:16 PM (15 years ago)
Author:
vboxsync
Message:

Make sure we check for pending pgm pool syncs as we clear VMCPU_FF_PGM_SYNC_CR3 later on!

File:
1 edited

Legend:

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

    r26685 r27369  
    18751875            rc = PGM_BTH_PFN(MapCR3, pVCpu)(pVCpu, GCPhysCR3);
    18761876        }
     1877        /* Make sure we check for pending pgm pool syncs as we clear VMCPU_FF_PGM_SYNC_CR3 later on! */
     1878        if (    rc == VINF_PGM_SYNC_CR3
     1879            ||  (pVCpu->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL))
     1880        {
    18771881#ifdef IN_RING3
    1878         if (rc == VINF_PGM_SYNC_CR3)
    18791882            rc = pgmPoolSyncCR3(pVCpu);
    18801883#else
    1881         if (rc == VINF_PGM_SYNC_CR3)
    1882         {
    18831884            pVCpu->pgm.s.GCPhysCR3 = GCPhysCR3Old;
    1884             return rc;
    1885         }
     1885            return VINF_PGM_SYNC_CR3;
    18861886#endif
     1887        }
    18871888        AssertRCReturn(rc, rc);
    18881889        AssertRCSuccessReturn(rc, VERR_INTERNAL_ERROR);
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