VirtualBox

Changeset 13388 in vbox


Ignore:
Timestamp:
Oct 20, 2008 11:44:51 AM (16 years ago)
Author:
vboxsync
Message:

Updates

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/iom.h

    r13387 r13388  
    213213VMMDECL(int)  IOMMMIOWrite(PVM pVM, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue);
    214214VMMDECL(int)  IOMInterpretCheckPortIOAccess(PVM pVM, PCPUMCTXCORE pCtxCore, RTIOPORT Port, unsigned cb);
    215 VMMDECL(int)  IOMMMIOModifyRegion(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags);
     215VMMDECL(int)  IOMMMIOModifyPage(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags);
    216216VMMDECL(int)  IOMMMIOResetRegion(PVM pVM, RTGCPHYS GCPhys);
    217217
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r13387 r13388  
    17391739VMMDECL(int)  IOMMMIOModifyPage(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags)
    17401740{
    1741     Assert(fPageFlags == X86_PTE_RW);
     1741    Assert(fPageFlags == (X86_PTE_RW|X86_PTE_P));
    17421742
    17431743    Log(("IOMMMIOModifyPage %VGp -> %VGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags));
     
    17631763
    17641764    /* 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);
    17661766    AssertRC(rc);
    17671767
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