Changeset 13388 in vbox
- Timestamp:
- Oct 20, 2008 11:44:51 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/iom.h
r13387 r13388 213 213 VMMDECL(int) IOMMMIOWrite(PVM pVM, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue); 214 214 VMMDECL(int) IOMInterpretCheckPortIOAccess(PVM pVM, PCPUMCTXCORE pCtxCore, RTIOPORT Port, unsigned cb); 215 VMMDECL(int) IOMMMIOModify Region(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags);215 VMMDECL(int) IOMMMIOModifyPage(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags); 216 216 VMMDECL(int) IOMMMIOResetRegion(PVM pVM, RTGCPHYS GCPhys); 217 217 -
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.