VirtualBox

Changeset 81965 in vbox for trunk/src


Ignore:
Timestamp:
Nov 18, 2019 8:49:18 PM (5 years ago)
Author:
vboxsync
Message:

DevHPET: Oops. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevHPET.cpp

    r81963 r81965  
    351351DECLINLINE(uint64_t) nsToHpetTicks(PCHPET pThis, uint64_t u64Value)
    352352{
    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 */));
    355354}
    356355
     
    11341133                Log4(("HPET: periodic: next in %llu\n", hpetTicksToNs(pThis, u64Diff)));
    11351134                STAM_REL_COUNTER_INC(&pHpetTimer->StatSetTimer);
     1135                PDMDevHlpTimerSetNano(pDevIns, pHpetTimer->hTimer, hpetTicksToNs(pThis, u64Diff));
    11361136            }
    11371137            else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette