VirtualBox

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


Ignore:
Timestamp:
Jun 16, 2011 5:29:00 PM (14 years ago)
Author:
vboxsync
Message:

DevHPET: No automatic locking, we're doing it ourselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevHPET.cpp

    r37509 r37510  
    13301330
    13311331    /*
    1332      * Initialize the device state
     1332     * Initialize the device state.
    13331333     */
    13341334    pThis->pDevInsR3 = pDevIns;
     
    13371337
    13381338    rc = PDMDevHlpCritSectInit(pDevIns, &pThis->csLock, RT_SRC_POS, "HPET#%u", pDevIns->iInstance);
     1339    AssertRCReturn(rc, rc);
     1340
     1341    /* No automatic locking. */
     1342    rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
    13391343    AssertRCReturn(rc, rc);
    13401344
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