VirtualBox

Changeset 21389 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 8, 2009 11:25:32 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49753
Message:

Forgot to apply count_shift to the timer delta (regression from 48850)

File:
1 edited

Legend:

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

    r20836 r21389  
    15271527        if (pThis->lvt[APIC_LVT_TIMER] & APIC_LVT_TIMER_PERIODIC) {
    15281528            /* new interval. */
    1529             pThis->next_time += (uint64_t)pThis->initial_count + 1;
     1529            pThis->next_time += (((uint64_t)pThis->initial_count + 1) << pThis->count_shift);
    15301530            TMTimerSet(pThis->CTX_SUFF(pTimer), pThis->next_time);
    15311531            pThis->fTimerArmed = true;
Note: See TracChangeset for help on using the changeset viewer.

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