Changeset 36528 in vbox
- Timestamp:
- Apr 4, 2011 1:16:52 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/rawpci.h
r36498 r36528 301 301 /* Get next IRQ for the device. */ 302 302 PCIRAWR0_DO_GET_IRQ, 303 /* Enable getting IRQs for the device. */ 304 PCIRAWR0_DO_ENABLE_IRQ, 305 /* Disable getting IRQs for the device. */ 306 PCIRAWR0_DO_DISABLE_IRQ, 303 307 /* Notify driver about guest power state change. */ 304 308 PCIRAWR0_DO_POWER_STATE_CHANGE, -
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r36485 r36528 193 193 if (pThis->IrqHandler.pfnIrqHandler) 194 194 { 195 pPort->pfnUnregisterIrqHandler(pPort, pThis->IrqHandler.iHostIrq);196 pThis->IrqHandler.iHostIrq = -1;195 vboxPciOsDevUnregisterIrqHandler(pThis, pThis->IrqHandler.iHostIrq); 196 pThis->IrqHandler.iHostIrq = 0; 197 197 pThis->IrqHandler.pfnIrqHandler = NULL; 198 198 } … … 386 386 pThis->IrqHandler.pfnIrqHandler = NULL; 387 387 pThis->IrqHandler.pIrqContext = NULL; 388 pThis->IrqHandler.iHostIrq = -1;388 pThis->IrqHandler.iHostIrq = 0; 389 389 } 390 390 vboxPciDevUnlock(pThis);
Note:
See TracChangeset
for help on using the changeset viewer.