VirtualBox

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


Ignore:
Timestamp:
Nov 30, 2008 7:30:09 AM (16 years ago)
Author:
vboxsync
Message:

PGMR0DynMap: fixed assertion (copy & past).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r14822 r14823  
    12221222        while (!ASMAtomicCmpXchgExU32(&paPages[iFreePage].uPte.pLegacy->u, uNew, uOld, &uOld))
    12231223            AssertMsgFailed(("uOld=%#x uOld2=%#x uNew=%#x\n", uOld, uOld2, uNew));
    1224         Assert(paPages[iPage].uPte.pLegacy->u == uNew);
     1224        Assert(paPages[iFreePage].uPte.pLegacy->u == uNew);
    12251225    }
    12261226    else
     
    12331233        while (!ASMAtomicCmpXchgExU64(&paPages[iFreePage].uPte.pPae->u, uNew, uOld, &uOld))
    12341234            AssertMsgFailed(("uOld=%#llx uOld2=%#llx uNew=%#llx\n", uOld, uOld2, uNew));
    1235         Assert(paPages[iPage].uPte.pPae->u == uNew);
     1235        Assert(paPages[iFreePage].uPte.pPae->u == uNew);
    12361236        /*Log6(("pgmR0DynMapPageSlow: #%x - %RHp %p %#llx\n", iFreePage, HCPhys, paPages[iFreePage].pvPage, uNew));*/
    12371237    }
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