VirtualBox

Changeset 38852 in vbox


Ignore:
Timestamp:
Sep 23, 2011 2:02:30 PM (13 years ago)
Author:
vboxsync
Message:

DevPCI.cpp: PDM provides locking via the helper interface, make the device critical section a NOP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r36079 r38852  
    20992099    pBus->pPciHlpR0 = pBus->pPciHlpR3->pfnGetR0Helpers(pDevIns);
    21002100
     2101    /* Disable default device locking. */
     2102    rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
     2103    AssertRCReturn(rc, rc);
     2104
    21012105    /*
    21022106     * Fill in PCI configs and add them to the bus.
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