Changeset 29458 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- May 14, 2010 10:16:06 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r29457 r29458 158 158 #include <VBox/param.h> 159 159 #include <VBox/err.h> 160 #include <VBox/vm.h>161 160 #include <iprt/asm.h> 162 161 #include <iprt/avl.h> … … 3975 3974 * @returns VBox status code. 3976 3975 * @param pVM VM handle 3977 * @param pVCpu VMCPU handle3978 */ 3979 GMMR0DECL(int) GMMR0CheckSharedModules(PVM pVM, PVMCPU pVCpu)3976 * @param idCpu VCPU id 3977 */ 3978 GMMR0DECL(int) GMMR0CheckSharedModules(PVM pVM, VMCPUID idCpu) 3980 3979 { 3981 3980 #ifdef VBOX_WITH_PAGE_SHARING … … 3986 3985 GMM_GET_VALID_INSTANCE(pGMM, VERR_INTERNAL_ERROR); 3987 3986 PGVM pGVM; 3988 int rc = GVMMR0ByVMAndEMT(pVM, pVCpu->idCpu, &pGVM);3987 int rc = GVMMR0ByVMAndEMT(pVM, idCpu, &pGVM); 3989 3988 if (RT_FAILURE(rc)) 3990 3989 return rc; … … 4001 4000 Log(("GMMR0CheckSharedModules\n")); 4002 4001 Info.pGVM = pGVM; 4003 Info.idCpu = pVCpu->idCpu;4002 Info.idCpu = idCpu; 4004 4003 4005 4004 RTAvlGCPtrDoWithAll(&pGVM->gmm.s.pSharedModuleTree, true /* fFromLeft */, gmmR0CheckSharedModule, &Info); -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r29457 r29458 969 969 ASMAtomicWriteU32(&pVCpu->idHostCpu, RTMpCpuId()); 970 970 971 int rc = vmmR0CallRing3SetJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, GMMR0CheckSharedModules, pVM, pVCpu); /* this may resume code. */971 int rc = GMMR0CheckSharedModules(pVM, idCpu); 972 972 973 973 /* Clear the VCPU context. */
Note:
See TracChangeset
for help on using the changeset viewer.