VirtualBox

Changeset 32389 in vbox for trunk/src


Ignore:
Timestamp:
Sep 10, 2010 11:15:42 AM (14 years ago)
Author:
vboxsync
Message:

Mask physical address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r32384 r32389  
    12971297
    12981298            /* Temporarily allow write access to the page table again. */
    1299             rc = PGMHandlerPhysicalPageTempOff(pVM, pPage->GCPhys, pPage->GCPhys);
     1299            rc = PGMHandlerPhysicalPageTempOff(pVM, pPage->GCPhys, pPage->GCPhys & PAGE_BASE_GC_MASK);
    13001300            if (rc == VINF_SUCCESS)
    13011301            {
     
    16431643
    16441644    /* First write protect the page again to catch all write accesses. (before checking for changes -> SMP) */
    1645     int rc = PGMHandlerPhysicalReset(pVM, pPage->GCPhys);
     1645    int rc = PGMHandlerPhysicalReset(pVM, pPage->GCPhys & PAGE_BASE_GC_MASK);
    16461646    Assert(rc == VINF_SUCCESS);
    16471647    pPage->fDirty = false;
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