Changeset 6183 in vbox
- Timestamp:
- Dec 24, 2007 9:03:59 AM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TM.cpp
r6085 r6183 1314 1314 #endif 1315 1315 if ( !VM_FF_ISSET(pVM, VM_FF_TIMER) 1316 && !pVM->tm.s.fRunningTimers1317 1316 && ( pVM->tm.s.paTimerQueuesR3[TMCLOCK_VIRTUAL_SYNC].offSchedule 1318 1317 || pVM->tm.s.paTimerQueuesR3[TMCLOCK_VIRTUAL].offSchedule … … 1322 1321 ) 1323 1322 && !VM_FF_ISSET(pVM, VM_FF_TIMER) 1324 && !pVM->tm.s.fRunningTimers1325 1323 ) 1326 1324 { … … 1349 1347 */ 1350 1348 AssertCompile(TMCLOCK_MAX == 4); 1351 ASMAtomicXchgBool(&pVM->tm.s.fRunningTimers, true);1352 VM_FF_CLEAR(pVM, VM_FF_TIMER);1353 1349 1354 1350 /* TMCLOCK_VIRTUAL_SYNC */ … … 1387 1383 1388 1384 /* done. */ 1389 ASMAtomicXchgBool(&pVM->tm.s.fRunningTimers, false);1385 VM_FF_CLEAR(pVM, VM_FF_TIMER); 1390 1386 1391 1387 #ifdef VBOX_STRICT -
trunk/src/VBox/VMM/TMInternal.h
r6085 r6183 413 413 /** Interval in milliseconds of the pTimer timer. */ 414 414 uint32_t u32TimerMillies; 415 /** Indicate that we're running times and that the timer 416 * callback shouldn't set the FF. */ 417 bool fRunningTimers; 418 419 bool afPadding[3]; /**< Alignment. */ 415 416 /** Alignment padding to ensure that the statistics are 64-bit aligned when using GCC. */ 417 uint32_t u32Padding1; 420 418 421 419 /** TMR3TimerQueuesDo
Note:
See TracChangeset
for help on using the changeset viewer.