Changeset 12969 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Oct 3, 2008 7:03:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r12653 r12969 275 275 devclass = d->config[0x0a] | (d->config[0x0b] << 8); 276 276 if (devclass == 0x0101 && r->size == 4) { 277 int rc = d->pDevIns->pDevHlp ->pfnIOPortDeregister(d->pDevIns, r->addr + 2, 1);277 int rc = d->pDevIns->pDevHlpR3->pfnIOPortDeregister(d->pDevIns, r->addr + 2, 1); 278 278 AssertRC(rc); 279 279 } else { 280 int rc = d->pDevIns->pDevHlp ->pfnIOPortDeregister(d->pDevIns, r->addr, r->size);280 int rc = d->pDevIns->pDevHlpR3->pfnIOPortDeregister(d->pDevIns, r->addr, r->size); 281 281 AssertRC(rc); 282 282 } … … 292 292 } 293 293 else 294 rc = d->pDevIns->pDevHlp ->pfnMMIODeregister(d->pDevIns, GCPhysBase, r->size);294 rc = d->pDevIns->pDevHlpR3->pfnMMIODeregister(d->pDevIns, GCPhysBase, r->size); 295 295 AssertMsgRC(rc, ("rc=%Rrc d=%s i=%d GCPhysBase=%RGp size=%#x\n", rc, d->name, i, GCPhysBase, r->size)); 296 296 } … … 1491 1491 PciBusReg.pszSetIrqRC = fGCEnabled ? "pciSetIrq" : NULL; 1492 1492 PciBusReg.pszSetIrqR0 = fR0Enabled ? "pciSetIrq" : NULL; 1493 rc = pDevIns->pDevHlp ->pfnPCIBusRegister(pDevIns, &PciBusReg, &pBus->pPciHlpR3);1493 rc = pDevIns->pDevHlpR3->pfnPCIBusRegister(pDevIns, &PciBusReg, &pBus->pPciHlpR3); 1494 1494 if (RT_FAILURE(rc)) 1495 1495 return PDMDEV_SET_ERROR(pDevIns, rc,
Note:
See TracChangeset
for help on using the changeset viewer.