VirtualBox

Changeset 16458 in vbox


Ignore:
Timestamp:
Feb 2, 2009 1:07:30 PM (16 years ago)
Author:
vboxsync
Message:

Disabled attempt to sync aliased pages the proper way.

File:
1 edited

Legend:

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

    r16037 r16458  
    17851785#endif
    17861786
     1787#if 0
     1788    rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys);
     1789#else
    17871790    /* Mark it as writable and present so reads and writes no longer fault. */
    17881791    rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, fPageFlags, ~fPageFlags);
     1792#endif
    17891793    Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT);
    17901794
     
    18301834
    18311835        /* Mark it as not present again to intercept all read and write access. */
     1836#if 0
     1837        rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys);
     1838#else
    18321839        rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, 0, ~(uint64_t)(X86_PTE_RW|X86_PTE_P));
    18331840        Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT);
     1841#endif
    18341842
    18351843#ifdef VBOX_STRICT
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