VirtualBox

Changeset 44445 in vbox


Ignore:
Timestamp:
Jan 29, 2013 1:54:37 PM (12 years ago)
Author:
vboxsync
Message:

Fixed four PDMDevHlpCritSectInit calls.

Location:
trunk/src/VBox/Devices
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r44055 r44445  
    62036203
    62046204    /* Initialize the PDM lock. */
    6205     rc = PDMDevHlpCritSectInit(pDevIns, &pThis->lock, RT_SRC_POS, "VGA#u", iInstance);
     6205    rc = PDMDevHlpCritSectInit(pDevIns, &pThis->lock, RT_SRC_POS, "VGA#%u", iInstance);
    62066206    if (RT_FAILURE(rc))
    62076207    {
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r41560 r44445  
    29012901    AssertRCReturn(rc, rc);
    29022902
    2903     rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "acpi%u", iInstance);
     2903    rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "acpi#%u", iInstance);
    29042904    AssertRCReturn(rc, rc);
    29052905
  • trunk/src/VBox/Devices/PC/DevPit-i8254.cpp

    r40280 r44445  
    12241224     * We do our own locking.  This must be done before creating timers.
    12251225     */
    1226     rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "pit");
     1226    rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "pit#%u", iInstance);
    12271227    AssertRCReturn(rc, rc);
    12281228
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r44399 r44445  
    35633563     * Create the critical section for the device.
    35643564     */
    3565     rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "VMMDev#u", iInstance);
     3565    rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSect, RT_SRC_POS, "VMMDev#%u", iInstance);
    35663566    AssertRCReturn(rc, rc);
    35673567    /* Later: pDevIns->pCritSectR3 = &pThis->CritSect; */
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