Changeset 37354 in vbox for trunk/src/VBox/VMM/VMMR0/PGMR0SharedPage.cpp
- Timestamp:
- Jun 7, 2011 3:05:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PGMR0SharedPage.cpp
r36983 r37354 53 53 Log(("PGMR0SharedModuleCheck: check %s %s base=%RGv size=%x\n", pModule->szName, pModule->szVersion, pModule->Core.Key, pModule->cbModule)); 54 54 55 Assert(PGMIsLockOwner(pVM));/* This cannot fail as we grab the lock in pgmR3SharedModuleRegRendezvous before calling into ring-0. */55 PGM_LOCK_ASSERT_OWNER(pVM); /* This cannot fail as we grab the lock in pgmR3SharedModuleRegRendezvous before calling into ring-0. */ 56 56 57 57 /* Check every region of the shared module. */ … … 104 104 105 105 /* Update the physical address and page id now. */ 106 PGM_PAGE_SET_HCPHYS(p Page, PageDesc.HCPhys);107 PGM_PAGE_SET_PAGEID(p Page, PageDesc.uHCPhysPageId);106 PGM_PAGE_SET_HCPHYS(pVM, pPage, PageDesc.HCPhys); 107 PGM_PAGE_SET_PAGEID(pVM, pPage, PageDesc.uHCPhysPageId); 108 108 109 109 /* Invalidate page map TLB entry for this page too. */ 110 PGMPhysInvalidatePageMapTLBEntry(pVM, PageDesc.GCPhys);110 pgmPhysInvalidatePageMapTLBEntry(pVM, PageDesc.GCPhys); 111 111 pVM->pgm.s.cReusedSharedPages++; 112 112 } … … 115 115 pVM->pgm.s.cSharedPages++; 116 116 pVM->pgm.s.cPrivatePages--; 117 PGM_PAGE_SET_STATE(p Page, PGM_PAGE_STATE_SHARED);117 PGM_PAGE_SET_STATE(pVM, pPage, PGM_PAGE_STATE_SHARED); 118 118 } 119 119 }
Note:
See TracChangeset
for help on using the changeset viewer.