VirtualBox

Changeset 13403 in vbox


Ignore:
Timestamp:
Oct 20, 2008 4:34:04 PM (16 years ago)
Author:
vboxsync
Message:

More checks

File:
1 edited

Legend:

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

    r13400 r13403  
    17621762    AssertRCReturn(rc, rc);
    17631763
     1764#ifdef VBOX_STRICT
     1765    uint64_t fFlags;
     1766    RTHCPHYS HCPhys;
     1767    rc = PGMShwGetPage(pVM, (RTGCPTR)GCPhys, &fFlags, &HCPhys);
     1768    Assert(rc == VERR_PAGE_NOT_PRESENT);
     1769#endif
     1770
    17641771    /* Mark it as writable and present so reads and writes no longer fault. */
    17651772    rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, fPageFlags, ~fPageFlags);
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