VirtualBox

Changeset 81774 in vbox


Ignore:
Timestamp:
Nov 11, 2019 6:09:10 PM (5 years ago)
Author:
vboxsync
Message:

DevLsiLogicSCSI: Use NOP critsect in ring-0 too. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp

    r81773 r81774  
    55215521    PLSILOGICSCSI pThis = PDMDEVINS_2_DATA(pDevIns, PLSILOGICSCSI);
    55225522
    5523     int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsReg, lsilogicIOPortWrite, lsilogicIOPortRead, NULL /*pvUser*/);
     5523    /* Replicate the critsect configuration: */
     5524    int rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
     5525    AssertRCReturn(rc, rc);
     5526
     5527    /* Setup callbacks for this context: */
     5528    rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsReg, lsilogicIOPortWrite, lsilogicIOPortRead, NULL /*pvUser*/);
    55245529    AssertRCReturn(rc, rc);
    55255530
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