VirtualBox

Changeset 36218 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Mar 9, 2011 9:32:02 AM (14 years ago)
Author:
vboxsync
Message:

PCI: interrupts work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r36203 r36218  
    16581658        return;
    16591659
    1660     Log(("BIOS init device: %02x::%02x.%d\n", uBus, uDevFn >> 3, uDevFn & 7));
     1660    Log(("BIOS init device: %02x:%02x.%d\n", uBus, uDevFn >> 3, uDevFn & 7));
    16611661
    16621662    switch (uDevClass)
     
    22962296                            pciDevIsMsixCapable(pPciDev) ? " MSI-X" : ""
    22972297                            );
    2298             if (!pciDevIsPassthrough(pPciDev) && PCIDevGetInterruptPin(pPciDev) != 0)
    2299                 pHlp->pfnPrintf(pHlp, " IRQ%d", PCIDevGetInterruptLine(pPciDev));
     2298            if (ich9pciGetByte(pPciDev, VBOX_PCI_INTERRUPT_PIN) != 0)
     2299                pHlp->pfnPrintf(pHlp, " IRQ%d", ich9pciGetByte(pPciDev, VBOX_PCI_INTERRUPT_LINE));
    23002300
    23012301            pHlp->pfnPrintf(pHlp, "\n");
     
    26182618
    26192619    /** @todo: other chipset devices shall be registered too */
    2620     /** @todo: what to with bridges? */
    26212620
    26222621    PDMDevHlpDBGFInfoRegister(pDevIns, "pci", "Display PCI bus status. (no arguments)", ich9pciInfo);
     
    26422641    if (pciDevIsPassthrough(pDev))
    26432642    {
    2644         // implement reset handler
    2645         AssertFailed();
     2643        // no reset handler - we can do what we need in PDM reset handler
     2644        // @todo: is it correct?
    26462645    }
    26472646    else
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