VirtualBox

Changeset 49255 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Oct 23, 2013 11:03:36 AM (11 years ago)
Author:
vboxsync
Message:

PS2M: Use default critsect for timers, too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/PS2M.cpp

    r48947 r49255  
    11141114    PTMTIMER pTimer;
    11151115    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_REAL, ps2mThrottleTimer, pThis,
    1116                                 TMTIMER_FLAGS_NO_CRIT_SECT, "PS2M Throttle Timer", &pTimer);
     1116                                TMTIMER_FLAGS_DEFAULT_CRIT_SECT, "PS2M Throttle Timer", &pTimer);
    11171117    if (RT_FAILURE(rc))
    11181118        return rc;
     
    11261126     */
    11271127    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, ps2mDelayTimer, pThis,
    1128                                 TMTIMER_FLAGS_NO_CRIT_SECT, "PS2M Delay Timer", &pTimer);
     1128                                TMTIMER_FLAGS_DEFAULT_CRIT_SECT, "PS2M Delay Timer", &pTimer);
    11291129    if (RT_FAILURE(rc))
    11301130        return rc;
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