VirtualBox

Changeset 6183 in vbox


Ignore:
Timestamp:
Dec 24, 2007 9:03:59 AM (17 years ago)
Author:
vboxsync
Message:

Back out of r26783.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TM.cpp

    r6085 r6183  
    13141314#endif
    13151315    if (    !VM_FF_ISSET(pVM, VM_FF_TIMER)
    1316         &&  !pVM->tm.s.fRunningTimers
    13171316        &&  (   pVM->tm.s.paTimerQueuesR3[TMCLOCK_VIRTUAL_SYNC].offSchedule
    13181317            ||  pVM->tm.s.paTimerQueuesR3[TMCLOCK_VIRTUAL].offSchedule
     
    13221321            )
    13231322        && !VM_FF_ISSET(pVM, VM_FF_TIMER)
    1324         && !pVM->tm.s.fRunningTimers
    13251323       )
    13261324    {
     
    13491347     */
    13501348    AssertCompile(TMCLOCK_MAX == 4);
    1351     ASMAtomicXchgBool(&pVM->tm.s.fRunningTimers, true);
    1352     VM_FF_CLEAR(pVM, VM_FF_TIMER);
    13531349
    13541350    /* TMCLOCK_VIRTUAL_SYNC */
     
    13871383
    13881384    /* done. */
    1389     ASMAtomicXchgBool(&pVM->tm.s.fRunningTimers, false);
     1385    VM_FF_CLEAR(pVM, VM_FF_TIMER);
    13901386
    13911387#ifdef VBOX_STRICT
  • trunk/src/VBox/VMM/TMInternal.h

    r6085 r6183  
    413413    /** Interval in milliseconds of the pTimer timer. */
    414414    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;
    420418
    421419    /** TMR3TimerQueuesDo
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