Changeset 81640 in vbox
- Timestamp:
- Nov 4, 2019 9:36:19 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r81639 r81640 1329 1329 if (uVmcsPreemptVal > 0) 1330 1330 { 1331 uint64_t const uCurTick 1332 uint64_t const uEntryTick 1333 uint64_t const uDelta 1334 uint32_t const uPreemptTimer 1335 1331 uint64_t const uCurTick = TMCpuTickGetNoCheck(pVCpu); 1332 uint64_t const uEntryTick = pVCpu->cpum.GstCtx.hwvirt.vmx.uEntryTick; 1333 uint64_t const uDelta = uCurTick - uEntryTick; 1334 uint32_t const uPreemptTimer = uVmcsPreemptVal 1335 - ASMDivU64ByU32RetU32(uDelta, uVmcsPreemptVal * RT_BIT(VMX_V_PREEMPT_TIMER_SHIFT)); 1336 1336 return uPreemptTimer; 1337 1337 }
Note:
See TracChangeset
for help on using the changeset viewer.