VirtualBox

Changeset 19781 in vbox


Ignore:
Timestamp:
May 18, 2009 11:59:17 AM (15 years ago)
Author:
vboxsync
Message:

PrefetchPage: Locking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r19779 r19781  
    30263026    if (PdeSrc.n.u1Present && PdeSrc.n.u1Accessed)
    30273027    {
     3028        PVM pVM = pVCpu->CTX_SUFF(pVM);
     3029        pgmLock(pVM);
     3030
    30283031# if PGM_SHW_TYPE == PGM_TYPE_32BIT
    30293032        const X86PDE    PdeDst = pgmShwGet32BitPDE(&pVCpu->pgm.s, GCPtrPage);
     
    30413044        if (rc != VINF_SUCCESS)
    30423045        {
     3046            pgmUnlock(pVM);
    30433047            AssertRC(rc);
    30443048            return rc;
     
    30663070        if (rc != VINF_SUCCESS)
    30673071        {
     3072            pgmUnlock(pVM);
    30683073            AssertRC(rc);
    30693074            return rc;
     
    30763081            if (!PdeDst.n.u1Present)
    30773082            {
    3078                 PVM pVM = pVCpu->CTX_SUFF(pVM);
    30793083                /** r=bird: This guy will set the A bit on the PDE, probably harmless. */
    3080                 pgmLock(pVM);
    30813084                rc = PGM_BTH_NAME(SyncPT)(pVCpu, iPDSrc, pPDSrc, GCPtrPage);
    3082                 pgmUnlock(pVM);
    30833085            }
    30843086            else
     
    30933095            }
    30943096        }
     3097        pgmUnlock(pVM);
    30953098    }
    30963099    return rc;
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