VirtualBox

Changeset 6905 in vbox


Ignore:
Timestamp:
Feb 11, 2008 5:41:19 PM (17 years ago)
Author:
vboxsync
Message:

A couple of fixes to PGMAssertHandlerAndFlagsInSync.

File:
1 edited

Legend:

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

    r6903 r6905  
    14771477        uint64_t   fGst;
    14781478        int rc = PGMGstGetPage(pVM, (RTGCPTR)GCPtr, &fGst, &GCPhysGst);
    1479         if (rc == VERR_PAGE_NOT_PRESENT)
     1479        if (    rc == VERR_PAGE_NOT_PRESENT
     1480            ||  rc == VERR_PAGE_TABLE_NOT_PRESENT)
    14801481        {
    14811482            if (pVirt->aPhysToVirt[iPage].Core.Key != NIL_RTGCPHYS)
     
    15911592#ifdef IN_RING3
    15921593                        /* validate that REM is handling it. */
    1593                         if (!REMR3IsPageAccessHandled(pVM, State.GCPhys))
     1594                        if (    !REMR3IsPageAccessHandled(pVM, State.GCPhys)
     1595                                /* ignore shadowed ROM for the time being. */ /// @todo PAGE FLAGS
     1596                            &&  (pPage->HCPhys & (MM_RAM_FLAGS_ROM | MM_RAM_FLAGS_MMIO2)) != (MM_RAM_FLAGS_ROM | MM_RAM_FLAGS_MMIO2))
    15941597                        {
    15951598                            AssertMsgFailed(("ram range vs phys handler REM mismatch. GCPhys=%RGp state=%d %s\n",
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