VirtualBox

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


Ignore:
Timestamp:
Jan 9, 2009 6:21:45 PM (16 years ago)
Author:
vboxsync
Message:

PGMR3PhysTlbGCPhys2Ptr: correct assertion (see #3399).

File:
1 edited

Legend:

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

    r15862 r15885  
    24802480                else if (RT_LIKELY(pRam->pvR3))
    24812481                {
    2482                     AssertMsg(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM, ("GCPhys=%RGp type=%d\n", GCPhys, PGM_PAGE_GET_TYPE(pPage)));
     2482                    AssertMsg(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM || PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_MMIO2, ("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