VirtualBox

Changeset 38849 in vbox


Ignore:
Timestamp:
Sep 23, 2011 1:31:23 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74146
Message:

DevPIC.cpp: Use the NOP critical section on the device level - the PCI helper interface provides locking.

File:
1 edited

Legend:

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

    r37423 r38849  
    983983        pThis->pPicHlpR0 = pThis->pPicHlpR3->pfnGetR0Helpers(pDevIns);
    984984
     985    /*
     986     * Since the PIC helper interface provides access to the PDM lock,
     987     * we need no device level critical section.
     988     */
     989    rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
     990    AssertRCReturn(rc, rc);
    985991
    986992    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette