- Timestamp:
- Jul 10, 2019 5:01:04 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79648 r79650 975 975 * Sets the TSC offset for the current VMCS. 976 976 * 977 * @param pVCpu The cross context virtual CPU structure. 977 978 * @param uTscOffset The TSC offset to set. 978 979 * @param pVmcsInfo The VMCS info. object. 979 980 */ 980 static void hmR0VmxSetTscOffsetVmcs(PVMXVMCSINFO pVmcsInfo, uint64_t uTscOffset) 981 { 981 static void hmR0VmxSetTscOffsetVmcs(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo, uint64_t uTscOffset) 982 { 983 NOREF(pVCpu); /* Used implicitly by VMXWriteVmcs64 on 32-bit hosts. */ 982 984 if (pVmcsInfo->u64TscOffset != uTscOffset) 983 985 { … … 7502 7504 if (pVmxTransient->fIsNestedGuest) 7503 7505 uTscOffset = CPUMApplyNestedGuestTscOffset(pVCpu, uTscOffset); 7504 hmR0VmxSetTscOffsetVmcs(pV mcsInfo, uTscOffset);7506 hmR0VmxSetTscOffsetVmcs(pVCpu, pVmcsInfo, uTscOffset); 7505 7507 hmR0VmxRemoveProcCtlsVmcs(pVCpu, pVmxTransient, VMX_PROC_CTLS_RDTSC_EXIT); 7506 7508 }
Note:
See TracChangeset
for help on using the changeset viewer.