- Timestamp:
- Nov 18, 2019 8:49:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevHPET.cpp
r81963 r81965 351 351 DECLINLINE(uint64_t) nsToHpetTicks(PCHPET pThis, uint64_t u64Value) 352 352 { 353 //return ASMMultU64ByU32DivByU32(u64Value, FS_PER_NS, RT_MAX(pThis->u32Period, 1 /* no div/zero */)); 354 return ASMMultU64ByU32DivByU32(u64Value, FS_PER_NS, pThis->u32Period); 353 return ASMMultU64ByU32DivByU32(u64Value, FS_PER_NS, RT_MAX(pThis->u32Period, 1 /* no div/zero */)); 355 354 } 356 355 … … 1134 1133 Log4(("HPET: periodic: next in %llu\n", hpetTicksToNs(pThis, u64Diff))); 1135 1134 STAM_REL_COUNTER_INC(&pHpetTimer->StatSetTimer); 1135 PDMDevHlpTimerSetNano(pDevIns, pHpetTimer->hTimer, hpetTicksToNs(pThis, u64Diff)); 1136 1136 } 1137 1137 else
Note:
See TracChangeset
for help on using the changeset viewer.