VirtualBox

Changeset 13388 in vbox for trunk/src/VBox/VMM/VMMAll


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

Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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