VirtualBox

Changeset 2907 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 29, 2007 11:07:27 AM (18 years ago)
Author:
vboxsync
Message:

Don't show the stopped messages unless the timer is active.

File:
1 edited

Legend:

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

    r2851 r2907  
    172172            LogRel(("RTC: period=%#x (%d) %u Hz\n", period, period, _32K / period));
    173173    } else {
     174        if (TMTimerIsActive(s->CTXSUFF(pPeriodicTimer)) && s->cRelLogEntries++ < 64)
     175            LogRel(("RTC: stopped the periodic timer\n"));
    174176        TMTimerStop(s->CTXSUFF(pPeriodicTimer));
    175         if (s->cRelLogEntries++ < 64)
    176             LogRel(("RTC: stopped the periodic timer\n"));
    177177    }
    178178}
     
    513513
    514514    int period_code = s->cmos_data[RTC_REG_A] & 0x0f;
    515     if (    period_code != 0 
     515    if (    period_code != 0
    516516        &&  (s->cmos_data[RTC_REG_B] & REG_B_PIE)) {
    517517        if (period_code <= 2)
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