VirtualBox

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


Ignore:
Timestamp:
Dec 20, 2010 5:12:57 PM (14 years ago)
Author:
vboxsync
Message:

PCI: ICH9 clear regions on reset, IRQs matching BIOS code

File:
1 edited

Legend:

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

    r34836 r35258  
    517517}
    518518
    519 /* irqs corresponding to PCI irqs A-D */
    520 static const uint8_t aPciIrqs[4] = { 11, 9, 11, 9 };
     519/* irqs corresponding to PCI irqs A-D, must match pci_irq_list in rombios.c */
     520static const uint8_t aPciIrqs[4] = { 11, 10, 9, 5 };
    521521
    522522/* Add one more level up request on APIC input line */
     
    24622462static void ich9pciResetDevice(PPCIDEVICE pDev)
    24632463{
     2464    /* Clear regions */
     2465    memset(&pDev->Int.s.aIORegions, 0, sizeof(pDev->Int.s.aIORegions));
     2466
    24642467    PCIDevSetCommand(pDev,
    24652468                     PCIDevGetCommand(pDev)
     
    24752478        PCIDevSetInterruptLine(pDev, 0x0);
    24762479    }
    2477     /* Clear regions too ? */
    24782480}
    24792481
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