VirtualBox

Changeset 39907 in vbox


Ignore:
Timestamp:
Jan 30, 2012 3:31:38 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75979
Message:

Fixed harmless assertion.

File:
1 edited

Legend:

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

    r39402 r39907  
    634634    pVM->pgm.s.aHandyPages[iHandyPage].HCPhysGCPhys = GCPhys & ~(RTGCPHYS)PAGE_OFFSET_MASK;
    635635
    636     void *pvSharedPage = NULL;
     636    void const *pvSharedPage = NULL;
    637637    if (PGM_PAGE_IS_SHARED(pPage))
    638638    {
     
    647647
    648648        /* Grab the address of the page so we can make a copy later on. (safe) */
    649         rc = pgmPhysPageMap(pVM, pPage, GCPhys, &pvSharedPage);
     649        rc = pgmPhysPageMapReadOnly(pVM, pPage, GCPhys, &pvSharedPage);
    650650        AssertRC(rc);
    651651    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette