Changeset 2848 in vbox for trunk/src/VBox
- Timestamp:
- May 24, 2007 5:35:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPit-i8254.cpp
r2781 r2848 300 300 pit_irq_timer_update(s, s->count_load_time); 301 301 302 /* log the new rate if it's high enough. */ 303 if ( ( s->mode == 2 304 || s->mode == 3) 305 && s->count < 0x10000 302 /* log the new rate (ch 0 only). */ 303 if ( s->pTimerHC /* ch 0 */ 306 304 && s->cRelLogEntries++ < 32) 307 LogRel(("PIT: mode=%d count=%#x - %d.%02d Hz\n", s->mode, s->count,308 PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100));305 LogRel(("PIT: mode=%d count=%#x (%u) - %d.%02d Hz (ch=0)\n", 306 s->mode, s->count, s->count, PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100)); 309 307 } 310 308 … … 747 745 SSMR3GetS64(pSSMHandle, &s->next_transition_time); 748 746 if (s->CTXSUFF(pTimer)) 747 { 749 748 TMR3TimerLoad(s->CTXSUFF(pTimer), pSSMHandle); 749 LogRel(("PIT: mode=%d count=%#x (%u) - %d.%02d Hz (ch=%d) (restore)\n", 750 s->mode, s->count, s->count, PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100, i)); 751 } 752 pData->channels[0].cRelLogEntries = 0; 750 753 } 751 754
Note:
See TracChangeset
for help on using the changeset viewer.