Changeset 83132 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Feb 21, 2020 12:31:05 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136246
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevBusLogic.cpp
r83127 r83132 1190 1190 * @param pThis Pointer to the shared BusLogic instance data. 1191 1191 * @param fSuppressIrq Flag to suppress IRQ generation regardless of current state 1192 * @param f NoComplStatFlag to suppress command completion status as well1192 * @param fSuppressCMDC Flag to suppress command completion status as well 1193 1193 */ 1194 1194 static void buslogicCommandComplete(PPDMDEVINS pDevIns, PBUSLOGIC pThis, bool fSuppressIrq, bool fSuppressCMDC) … … 1201 1201 pThis->iReply = 0; 1202 1202 1203 /* Some commands donot set CMDC when successful. */1203 /* The Enable OMBR command does not set CMDC when successful. */ 1204 1204 if (!fSuppressCMDC) 1205 1205 { … … 4380 4380 if (!pThis->uIsaIrq) 4381 4381 { 4382 Assert(pThis->hIoPortsIsa == NIL_IOMIOPORTHANDLE);4383 4384 4382 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsPci, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4385 4383 AssertRCReturn(rc, rc); … … 4388 4386 AssertRCReturn(rc, rc); 4389 4387 } 4390 else 4391 { 4392 Assert(pThis->hIoPortsPci == NIL_IOMIOPORTHANDLE); 4393 Assert(pThis->hMmio == NIL_IOMMMIOHANDLE); 4394 4395 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsIsa, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4396 AssertRCReturn(rc, rc); 4397 } 4388 4389 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsIsa, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4390 AssertRCReturn(rc, rc); 4398 4391 4399 4392 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.