VirtualBox

Changeset 36528 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Apr 4, 2011 1:16:52 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70950
Message:

PCI: fully reworked interrupts, now HDA audio device can be reasonably passed to the guest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c

    r36485 r36528  
    193193    if (pThis->IrqHandler.pfnIrqHandler)
    194194    {
    195         pPort->pfnUnregisterIrqHandler(pPort, pThis->IrqHandler.iHostIrq);
    196         pThis->IrqHandler.iHostIrq = -1;
     195        vboxPciOsDevUnregisterIrqHandler(pThis, pThis->IrqHandler.iHostIrq);
     196        pThis->IrqHandler.iHostIrq = 0;
    197197        pThis->IrqHandler.pfnIrqHandler = NULL;
    198198    }
     
    386386        pThis->IrqHandler.pfnIrqHandler = NULL;
    387387        pThis->IrqHandler.pIrqContext   = NULL;
    388         pThis->IrqHandler.iHostIrq = -1;
     388        pThis->IrqHandler.iHostIrq = 0;
    389389    }
    390390    vboxPciDevUnlock(pThis);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette