VirtualBox

Changeset 13398 in vbox for trunk/src


Ignore:
Timestamp:
Oct 20, 2008 2:58:11 PM (16 years ago)
Author:
vboxsync
Message:

Don't check disabled physical access handlers

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r13393 r13398  
    17621762    AssertRCReturn(rc, rc);
    17631763
    1764     /* Prefetch it as it's now marked as not present and our trap handler will
    1765      * still call the access handler.
    1766      */
    1767     rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys);
    1768     AssertRC(rc);
    1769 
    17701764    /* Mark it as writable and present so reads and writes no longer fault. */
    17711765    rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, fPageFlags, ~fPageFlags);
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r13397 r13398  
    372372            if (VBOX_SUCCESS(rc))
    373373            {
    374                 if (PGM_PAGE_HAS_ANY_HANDLERS(pPage))
     374                if (   PGM_PAGE_HAS_ACTIVE_PHYSICAL_HANDLERS(pPage)
     375                    || PGM_PAGE_HAS_ACTIVE_VIRTUAL_HANDLERS(pPage))
    375376                {
    376377                    if (PGM_PAGE_HAS_ANY_PHYSICAL_HANDLERS(pPage))
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