VirtualBox

Changeset 26261 in vbox


Ignore:
Timestamp:
Feb 5, 2010 1:45:28 AM (15 years ago)
Author:
vboxsync
Message:

PGMPool.cpp: Too more warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPool.cpp

    r26150 r26261  
    789789                if (pShwPT->a[j].n.u1Present)
    790790                {
    791                     RTHCPHYS HCPhys = -1;
     791                    RTHCPHYS HCPhys = NIL_RTHCPHYS;
    792792                    rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pGstPT->a[j].u & X86_PTE_PAE_PG_MASK, &HCPhys);
    793793                    if (    rc != VINF_SUCCESS
     
    816816
    817817            /* Make sure this page table can't be written to from any shadow mapping. */
    818             RTHCPHYS HCPhysPT = -1;
     818            RTHCPHYS HCPhysPT = NIL_RTHCPHYS;
    819819            rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT);
    820820            AssertMsgRC(rc, ("PGMPhysGCPhys2HCPhys failed with rc=%d for %RGp\n", rc, pPage->GCPhys));
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