- Timestamp:
- Nov 25, 2019 2:12:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevBusLogic.cpp
r82153 r82179 4106 4106 * Init instance data (do early because of constructor). 4107 4107 */ 4108 pThis->hMmio = NIL_IOMMMIOHANDLE; 4109 pThis->hIoPortsIsa = NIL_IOMIOPORTHANDLE; 4110 pThis->hIoPortsPci = NIL_IOMIOPORTHANDLE; 4108 4111 pThisCC->pDevIns = pDevIns; 4109 4112 pThisCC->IBase.pfnQueryInterface = buslogicR3StatusQueryInterface; … … 4356 4359 PBUSLOGIC pThis = PDMDEVINS_2_DATA(pDevIns, PBUSLOGIC); 4357 4360 4358 if (!pThis->uIsaIrq) { 4361 if (!pThis->uIsaIrq) 4362 { 4363 Assert(pThis->hIoPortsIsa == NIL_IOMIOPORTHANDLE); 4364 4359 4365 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsPci, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4360 4366 AssertRCReturn(rc, rc); … … 4365 4371 else 4366 4372 { 4373 Assert(pThis->hIoPortsPci == NIL_IOMIOPORTHANDLE); 4374 Assert(pThis->hMmio == NIL_IOMMMIOHANDLE); 4375 4367 4376 int rc = PDMDevHlpIoPortSetUpContext(pDevIns, pThis->hIoPortsIsa, buslogicIOPortWrite, buslogicIOPortRead, NULL /*pvUser*/); 4368 4377 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.