Changeset 80281 in vbox for trunk/src/VBox/VMM/VMMAll/HMAll.cpp
- Timestamp:
- Aug 15, 2019 7:29:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMAll.cpp
r80268 r80281 323 323 * 324 324 * @returns @c true if it is suitable, @c false otherwise. 325 * @param pVM The cross context VM structure. 325 326 * @param pVCpu The cross context virtual CPU structure. 326 327 * @param pCtx Pointer to the guest CPU context. … … 329 330 * pVCpu->cpum.GstCtx. 330 331 */ 331 VMMDECL(bool) HMCanExecuteGuest(PVMCPUCC pVCpu, PCCPUMCTX pCtx) 332 { 333 PVM pVM = pVCpu->CTX_SUFF(pVM); 332 VMMDECL(bool) HMCanExecuteGuest(PVMCC pVM, PVMCPUCC pVCpu, PCCPUMCTX pCtx) 333 { 334 334 Assert(HMIsEnabled(pVM)); 335 335 … … 380 380 * @param GCVirt Page to invalidate. 381 381 */ 382 VMM_INT_DECL(int) HMInvalidatePage(PVMCPU pVCpu, RTGCPTR GCVirt)382 VMM_INT_DECL(int) HMInvalidatePage(PVMCPUCC pVCpu, RTGCPTR GCVirt) 383 383 { 384 384 STAM_COUNTER_INC(&pVCpu->hm.s.StatFlushPageManual); … … 514 514 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 515 515 { 516 PVMCPU pVCpu = VMCC_GET_CPU(pVM, idCpu);516 PVMCPUCC pVCpu = VMCC_GET_CPU(pVM, idCpu); 517 517 518 518 /* Nothing to do if a TLB flush is already pending; the VCPU should … … 551 551 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 552 552 { 553 PVMCPU pVCpu = VMCC_GET_CPU(pVM, idCpu);553 PVMCPUCC pVCpu = VMCC_GET_CPU(pVM, idCpu); 554 554 555 555 /* Nothing to do if a TLB flush is already pending; the VCPU should … … 702 702 * @param pVM The cross context VM structure. 703 703 */ 704 VMM_INT_DECL(bool) HMHasPendingIrq(PVM pVM)705 { 706 PVMCPU pVCpu = VMMGetCpu(pVM);704 VMM_INT_DECL(bool) HMHasPendingIrq(PVMCC pVM) 705 { 706 PVMCPUCC pVCpu = VMMGetCpu(pVM); 707 707 return !!pVCpu->hm.s.Event.fPending; 708 708 }
Note:
See TracChangeset
for help on using the changeset viewer.