VirtualBox

Changeset 26274 in vbox


Ignore:
Timestamp:
Feb 5, 2010 4:29:07 AM (15 years ago)
Author:
vboxsync
Message:

VMM: more RC/GC warnings.

File:
1 edited

Legend:

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

    r26271 r26274  
    227227    PVM pVM = pPool->CTX_SUFF(pVM);
    228228
    229     LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp cbWrite=%d\n", (RTGCPTR)pvAddress, GCPhysFault, cbWrite));
     229    LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp cbWrite=%d\n", (RTGCPTR)(CTXTYPE(RTGCPTR, uintptr_t, RTGCPTR))pvAddress, GCPhysFault, cbWrite));
    230230
    231231    for (;;)
     
    13971397        if (pShwPT->a[i].n.u1Present)
    13981398        {
    1399             RTHCPHYS HCPhys = -1;
     1399            RTHCPHYS HCPhys = NIL_RTHCPHYS;
    14001400            int rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pGstPT->a[i].u & X86_PTE_PAE_PG_MASK, &HCPhys);
    14011401            if (    rc != VINF_SUCCESS
    14021402                ||  (pShwPT->a[i].u & X86_PTE_PAE_PG_MASK) != HCPhys)
    14031403            {
    1404                 RTHCPHYS HCPhysPT = -1;
    14051404                Log(("rc=%d idx=%d guest %RX64 shw=%RX64 vs %RHp\n", rc, i, pGstPT->a[i].u, pShwPT->a[i].u, HCPhys));
    14061405                LastPTE     = i;
     
    14091408                cErrors++;
    14101409
     1410                RTHCPHYS HCPhysPT = NIL_RTHCPHYS;
    14111411                rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT);
    14121412                AssertRC(rc);
     
    14801480            {
    14811481#ifdef VBOX_STRICT
    1482                 RTHCPHYS HCPhys = -1;
     1482                RTHCPHYS HCPhys = NIL_RTGCPHYS;
    14831483                int rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pGstPT->a[i].u & X86_PTE_PAE_PG_MASK, &HCPhys);
    14841484                AssertMsg(rc == VINF_SUCCESS && (pShwPT->a[i].u & X86_PTE_PAE_PG_MASK) == HCPhys, ("rc=%d guest %RX64 old %RX64 shw=%RX64 vs %RHp\n", rc, pGstPT->a[i].u, pOldGstPT->a[i].u, pShwPT->a[i].u, HCPhys));
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