- Timestamp:
- Nov 25, 2019 8:14:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevBusLogic.cpp
r81853 r82153 4356 4356 PBUSLOGIC pThis = PDMDEVINS_2_DATA(pDevIns, PBUSLOGIC); 4357 4357 4358 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsPci, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4359 AssertRCReturn(rc, rc); 4360 4361 rc = PDMDevHlpMmioSetUpContext(pDevIns, pThis->hMmio, buslogicMMIOWrite, buslogicMMIORead, NULL /*pvUser*/); 4362 AssertRCReturn(rc, rc); 4358 if (!pThis->uIsaIrq) { 4359 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsPci, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4360 AssertRCReturn(rc, rc); 4361 4362 rc = PDMDevHlpMmioSetUpContext(pDevIns, pThis->hMmio, buslogicMMIOWrite, buslogicMMIORead, NULL /*pvUser*/); 4363 AssertRCReturn(rc, rc); 4364 } 4365 else 4366 { 4367 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsIsa, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4368 AssertRCReturn(rc, rc); 4369 } 4363 4370 4364 4371 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.