VirtualBox

Changeset 15862 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 8, 2009 12:41:13 PM (16 years ago)
Author:
vboxsync
Message:

PGMPhys.cpp: Added some details to the two assertions in PGMR3PhysTlbGCPhys2Ptr.

File:
1 edited

Legend:

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

    r15284 r15862  
    24732473                if (pRam->fFlags & MM_RAM_FLAGS_DYNAMIC_ALLOC)
    24742474                {
    2475                     Assert(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM);
     2475                    AssertMsg(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM, ("GCPhys=%RGp type=%d\n", GCPhys, PGM_PAGE_GET_TYPE(pPage)));
    24762476                    RTGCPHYS off = GCPhys - pRam->GCPhys;
    24772477                    unsigned iChunk = (off >> PGM_DYNAMIC_CHUNK_SHIFT);
     
    24802480                else if (RT_LIKELY(pRam->pvR3))
    24812481                {
    2482                     Assert(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM);
     2482                    AssertMsg(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM, ("GCPhys=%RGp type=%d\n", GCPhys, PGM_PAGE_GET_TYPE(pPage)));
    24832483                    RTGCPHYS off = GCPhys - pRam->GCPhys;
    24842484                    *pvPtr = (uint8_t *)pRam->pvR3 + off;
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