|
|
1.1 ! root 1: bios: mark the acpi sci interrupt as connected to irq 9 (Avi Kivity) ! 2: ! 3: Due to a chipset bug, the sci interrupt is hardwired to irq 9. Set the ! 4: pci interrupt line register accordingly. ! 5: ! 6: Signed-off-by: Avi Kivity <[email protected]> ! 7: Signed-off-by: Anthony Liguori <[email protected]> ! 8: ! 9: Index: bochs/bios/rombios32.c ! 10: =================================================================== ! 11: --- bochs.orig/bios/rombios32.c ! 12: +++ bochs/bios/rombios32.c ! 13: @@ -981,6 +981,8 @@ static void pci_bios_init_device(PCIDevi ! 14: /* PIIX4 Power Management device (for ACPI) */ ! 15: pm_io_base = PM_IO_BASE; ! 16: smb_io_base = SMB_IO_BASE; ! 17: + // acpi sci is hardwired to 9 ! 18: + pci_config_writeb(d, PCI_INTERRUPT_LINE, 9); ! 19: pm_sci_int = pci_config_readb(d, PCI_INTERRUPT_LINE); ! 20: piix4_pm_enable(d); ! 21: acpi_enabled = 1; ! 22: ! 23: -- ! 24: ! 25: ! 26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.