Changeset 75109 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 26, 2018 3:48:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r74101 r75109 2836 2836 #ifndef IN_RC 2837 2837 PCCPUMCTX pCtx = &pVCpu->cpum.s.Guest; 2838 if (CPUMIsGuestInVmxNonRootMode(pCtx)) 2839 { 2840 PCVMXVVMCS pVmcs = pCtx->hwvirt.vmx.CTX_SUFF(pVmcs); 2841 if (pVmcs->u32ProcCtls & VMX_PROC_CTLS_USE_TSC_OFFSETTING) 2842 return uTicks + pVmcs->u64TscOffset.u; 2843 return uTicks; 2844 } 2845 2838 2846 if (CPUMIsGuestInSvmNestedHwVirtMode(pCtx)) 2839 2847 { … … 2845 2853 return HMSvmNstGstApplyTscOffset(pVCpu, uTicks); 2846 2854 } 2847 2848 /** @todo Intel. */2849 2855 #else 2850 2856 RT_NOREF(pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.