Lines Matching refs:pVCpu
177 * @param pVCpu Pointer to the VMCPU.
179 VMM_INT_DECL(RTRCPTR) VMMGetStackRC(PVMCPU pVCpu)
181 return (RTRCPTR)pVCpu->vmm.s.pbEMTStackBottomRC;
215 PVMCPU pVCpu = &pVM->aCpus[idCpu];
217 if (pVCpu->idHostCpu == idHostCpu)
218 return pVCpu->idCpu;
228 PVMCPU pVCpu = &pVM->aCpus[idCpu];
230 if (pVCpu->hNativeThreadR0 == hThread)
231 return pVCpu->idCpu;
277 PVMCPU pVCpu = &pVM->aCpus[idCpu];
279 if (pVCpu->idHostCpu == idHostCpu)
280 return pVCpu;
291 PVMCPU pVCpu = &pVM->aCpus[idCpu];
293 if (pVCpu->hNativeThreadR0 == hThread)
294 return pVCpu;
364 * @param pVCpu The caller's cross context VM structure.
367 VMM_INT_DECL(bool) VMMIsInRing3Call(PVMCPU pVCpu)
370 return pVCpu->vmm.s.CallRing3JmpBufR0.fInRing3Call;
372 return pVCpu->vmm.s.CallRing3JmpBufR0.fInRing3Call;
441 * @param pVCpu Pointer to the VMCPU.
443 VMM_INT_DECL(void) VMMHypercallsEnable(PVMCPU pVCpu)
447 if (HMIsEnabled(pVCpu->CTX_SUFF(pVM)))
448 HMHypercallsEnable(pVCpu);
456 * @param pVCpu Pointer to the VMCPU.
458 VMM_INT_DECL(void) VMMHypercallsDisable(PVMCPU pVCpu)
462 if (HMIsEnabled(pVCpu->CTX_SUFF(pVM)))
463 HMHypercallsDisable(pVCpu);