Changeset 16458 in vbox
- Timestamp:
- Feb 2, 2009 1:07:30 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r16037 r16458 1785 1785 #endif 1786 1786 1787 #if 0 1788 rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys); 1789 #else 1787 1790 /* Mark it as writable and present so reads and writes no longer fault. */ 1788 1791 rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, fPageFlags, ~fPageFlags); 1792 #endif 1789 1793 Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT); 1790 1794 … … 1830 1834 1831 1835 /* Mark it as not present again to intercept all read and write access. */ 1836 #if 0 1837 rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys); 1838 #else 1832 1839 rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, 0, ~(uint64_t)(X86_PTE_RW|X86_PTE_P)); 1833 1840 Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT); 1841 #endif 1834 1842 1835 1843 #ifdef VBOX_STRICT
Note:
See TracChangeset
for help on using the changeset viewer.

