Changeset 30256 in vbox
- Timestamp:
- Jun 16, 2010 3:14:10 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62758
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMSharedPage.cpp
r30248 r30256 161 161 * 162 162 * @param pVM The VM handle. 163 */ 164 static DECLCALLBACK(void) pgmR3CheckSharedModulesHelper(PVM pVM) 165 { 166 VMCPUID idCpu = VMMGetCpuId(pVM); 167 163 * @param VMCPUID VCPU id 164 */ 165 static DECLCALLBACK(void) pgmR3CheckSharedModulesHelper(PVM pVM, VMCPUID idCpu) 166 { 168 167 /* We must stall other VCPUs as we'd otherwise have to send IPI flush commands for every single change we make. */ 169 168 int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONE_BY_ONE, pgmR3SharedModuleRegRendezvous, &idCpu); … … 182 181 #ifdef VBOX_WITH_PAGE_SHARING 183 182 /* Queue the actual registration as we are under the IOM lock right now. Perform this operation on the way out. */ 184 return VMR3ReqCallNoWait(pVM, VM MGetCpuId(pVM), (PFNRT)pgmR3CheckSharedModulesHelper, 1, pVM);183 return VMR3ReqCallNoWait(pVM, VMCPUID_ANY_QUEUE, (PFNRT)pgmR3CheckSharedModulesHelper, 2, pVM, VMMGetCpuId(pVM)); 185 184 #else 186 185 return VERR_NOT_IMPLEMENTED;
Note:
See TracChangeset
for help on using the changeset viewer.