Changeset 75201 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 31, 2018 9:05:52 AM (6 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r75150 r75201 979 979 uint8_t cbInstr); 980 980 IEM_STATIC VBOXSTRICTRC iemVmxVmexitTripleFault(PVMCPU pVCpu); 981 IEM_STATIC VBOXSTRICTRC iemVmxVmexitPreemptTimer(PVMCPU pVCpu); 981 982 IEM_STATIC VBOXSTRICTRC iemVmxVmexitExtInt(PVMCPU pVCpu, uint8_t uVector, bool fIntPending); 982 983 IEM_STATIC VBOXSTRICTRC iemVmxVmexitStartupIpi(PVMCPU pVCpu, uint8_t uVector); … … 15644 15645 15645 15646 /** 15647 * Interface for HM and EM to emulate VM-exit due to expiry of the preemption timer. 15648 * 15649 * @returns Strict VBox status code. 15650 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 15651 * @thread EMT(pVCpu) 15652 */ 15653 VMM_INT_DECL(VBOXSTRICTRC) IEMExecVmxVmexitPreemptTimer(PVMCPU pVCpu) 15654 { 15655 IEM_CTX_ASSERT(pVCpu, IEM_CPUMCTX_EXTRN_VMX_VMEXIT_MASK); 15656 VBOXSTRICTRC rcStrict = iemVmxVmexitPreemptTimer(pVCpu); 15657 if (pVCpu->iem.s.cActiveMappings) 15658 iemMemRollback(pVCpu); 15659 return iemExecStatusCodeFiddling(pVCpu, rcStrict); 15660 } 15661 15662 15663 /** 15646 15664 * Interface for HM and EM to emulate VM-exit due to external interrupts. 15647 15665 * -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r75150 r75201 3712 3712 3713 3713 /** 3714 * VMX VM-exit handler for VM-exits due to expiry of the preemption timer. 3715 * 3716 * @returns VBox strict status code. 3717 * @param pVCpu The cross context virtual CPU structure. 3718 */ 3719 IEM_STATIC VBOXSTRICTRC iemVmxVmexitPreemptTimer(PVMCPU pVCpu) 3720 { 3721 PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs); 3722 Assert(pVmcs); 3723 Assert(pVmcs->u32PinCtls & VMX_PIN_CTLS_PREEMPT_TIMER); 3724 NOREF(pVmcs); 3725 3726 iemVmxVmcsSetExitQual(pVCpu, 0); 3727 return iemVmxVmexit(pVCpu, VMX_EXIT_PREEMPT_TIMER); 3728 } 3729 3730 3731 /** 3714 3732 * VMX VM-exit handler for VM-exits due to external interrupts. 3715 3733 *
Note:
See TracChangeset
for help on using the changeset viewer.