Changeset 13388 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 20, 2008 11:44:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r13387 r13388 1739 1739 VMMDECL(int) IOMMMIOModifyPage(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags) 1740 1740 { 1741 Assert(fPageFlags == X86_PTE_RW);1741 Assert(fPageFlags == (X86_PTE_RW|X86_PTE_P)); 1742 1742 1743 1743 Log(("IOMMMIOModifyPage %VGp -> %VGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags)); … … 1763 1763 1764 1764 /* Mark it as writable and present so reads and writes no longer fault. */ 1765 rc = PGMShwSetPage(pVM, (RTGCPTR)GCPhys, PAGE_SIZE, X86_PTE_RW | X86_PTE_P);1765 rc = PGMShwSetPage(pVM, (RTGCPTR)GCPhys, PAGE_SIZE, fPageFlags); 1766 1766 AssertRC(rc); 1767 1767
Note:
See TracChangeset
for help on using the changeset viewer.