Changeset 39907 in vbox
- Timestamp:
- Jan 30, 2012 3:31:38 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r39402 r39907 634 634 pVM->pgm.s.aHandyPages[iHandyPage].HCPhysGCPhys = GCPhys & ~(RTGCPHYS)PAGE_OFFSET_MASK; 635 635 636 void *pvSharedPage = NULL;636 void const *pvSharedPage = NULL; 637 637 if (PGM_PAGE_IS_SHARED(pPage)) 638 638 { … … 647 647 648 648 /* 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); 650 650 AssertRC(rc); 651 651 }
Note:
See TracChangeset
for help on using the changeset viewer.