Changeset 46420 in vbox for trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
- Timestamp:
- Jun 6, 2013 4:27:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r44528 r46420 338 338 { 339 339 PVMCPU pVCpuDst = &pVM->aCpus[pVM->tm.s.idTimerCpu]; 340 if ( !VMCPU_FF_IS SET(pVCpuDst, VMCPU_FF_TIMER)340 if ( !VMCPU_FF_IS_SET(pVCpuDst, VMCPU_FF_TIMER) 341 341 && !pVM->tm.s.fRunningQueues 342 342 && ( pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64 … … 349 349 { 350 350 STAM_COUNTER_INC(&pVM->tm.s.StatVirtualGetSetFF); 351 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, VMCPU_FF_IS PENDING(pVCpuDst, VMCPU_FF_TIMER)));351 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, VMCPU_FF_IS_PENDING(pVCpuDst, VMCPU_FF_TIMER))); 352 352 VMCPU_FF_SET(pVCpuDst, VMCPU_FF_TIMER); 353 353 #ifdef IN_RING3 … … 506 506 PVMCPU pVCpuDst = &pVM->aCpus[pVM->tm.s.idTimerCpu]; 507 507 VMCPU_FF_SET(pVCpuDst, VMCPU_FF_TIMER); 508 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, VMCPU_FF_IS PENDING(pVCpuDst, VMCPU_FF_TIMER)));508 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, VMCPU_FF_IS_PENDING(pVCpuDst, VMCPU_FF_TIMER))); 509 509 Log4(("TM: %'RU64/-%'8RU64: exp tmr=>ff [vsghcul]\n", u64, pVM->tm.s.offVirtualSync - pVM->tm.s.offVirtualSyncGivenUp)); 510 510 PDMCritSectLeave(&pVM->tm.s.VirtualSyncLock); … … 594 594 PVMCPU pVCpuDst = &pVM->aCpus[pVM->tm.s.idTimerCpu]; 595 595 VMCPU_FF_SET(pVCpuDst, VMCPU_FF_TIMER); 596 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, !!VMCPU_FF_IS PENDING(pVCpuDst, VMCPU_FF_TIMER)));596 Log5(("TMAllVirtual(%u): FF: %d -> 1\n", __LINE__, !!VMCPU_FF_IS_PENDING(pVCpuDst, VMCPU_FF_TIMER))); 597 597 Log4(("TM: %'RU64/-%'8RU64: exp tmr=>ff [vsgl]\n", u64, pVM->tm.s.offVirtualSync - pVM->tm.s.offVirtualSyncGivenUp)); 598 598 PDMCritSectLeave(&pVM->tm.s.VirtualSyncLock); … … 649 649 { 650 650 PVMCPU pVCpuDst = &pVM->aCpus[pVM->tm.s.idTimerCpu]; 651 if ( !VMCPU_FF_IS SET(pVCpuDst, VMCPU_FF_TIMER)651 if ( !VMCPU_FF_IS_SET(pVCpuDst, VMCPU_FF_TIMER) 652 652 && pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64) 653 653 { … … 819 819 { 820 820 PVMCPU pVCpuDst = &pVM->aCpus[pVM->tm.s.idTimerCpu]; 821 if (!VMCPU_FF_IS SET(pVCpuDst, VMCPU_FF_TIMER))821 if (!VMCPU_FF_IS_SET(pVCpuDst, VMCPU_FF_TIMER)) 822 822 { 823 Log5(("TMAllVirtual(%u): FF: %d -> 1 (NoLock)\n", __LINE__, VMCPU_FF_IS PENDING(pVCpuDst, VMCPU_FF_TIMER)));823 Log5(("TMAllVirtual(%u): FF: %d -> 1 (NoLock)\n", __LINE__, VMCPU_FF_IS_PENDING(pVCpuDst, VMCPU_FF_TIMER))); 824 824 VM_FF_SET(pVM, VM_FF_TM_VIRTUAL_SYNC); /* Hmm? */ 825 825 VMCPU_FF_SET(pVCpuDst, VMCPU_FF_TIMER);
Note:
See TracChangeset
for help on using the changeset viewer.