Changeset 30013 in vbox for trunk/src/VBox/VMM/PGMSharedPage.cpp
- Timestamp:
- Jun 3, 2010 2:40:59 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62335
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMSharedPage.cpp
r30009 r30013 56 56 57 57 Log(("PGMR3SharedModuleRegister family=%d name=%s version=%s base=%RGv size=%x cRegions=%d\n", enmGuestOS, pszModuleName, pszVersion, GCBaseAddr, cbModule, cRegions)); 58 58 59 59 /* Sanity check. */ 60 60 AssertReturn(cRegions < VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER); … … 107 107 pReq = (PGMMUNREGISTERSHAREDMODULEREQ)RTMemAllocZ(sizeof(*pReq)); 108 108 AssertReturn(pReq, VERR_NO_MEMORY); 109 109 110 110 pReq->GCBaseAddr = GCBaseAddr; 111 111 pReq->cbModule = cbModule; … … 120 120 RTMemFree(pReq); 121 121 return rc; 122 #else 122 #else 123 123 return VERR_NOT_IMPLEMENTED; 124 124 #endif … … 154 154 */ 155 155 static DECLCALLBACK(void) pgmR3CheckSharedModulesHelper(PVM pVM) 156 { 156 { 157 157 /* We must stall other VCPUs as we'd otherwise have to send IPI flush commands for every single change we make. */ 158 158 int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, pgmR3SharedModuleRegRendezvous, NULL); … … 172 172 /* Queue the actual registration as we are under the IOM lock right now. Perform this operation on the way out. */ 173 173 return VMR3ReqCallNoWait(pVM, VMMGetCpuId(pVM), (PFNRT)pgmR3CheckSharedModulesHelper, 1, pVM); 174 #else 174 #else 175 175 return VERR_NOT_IMPLEMENTED; 176 176 #endif
Note:
See TracChangeset
for help on using the changeset viewer.