/[pkgs]/devel/bochs/bochs-0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch
ViewVC logotype

Contents of /devel/bochs/bochs-0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Mar 5 17:42:27 2009 UTC (8 months, 2 weeks ago) by glommer
Branch: MAIN
CVS Tags: bochs-2_3_8-0_6_git04387139e3b_fc11, F-12-split, bochs-2_3_8-0_3_git04387139e3b_fc11, F-11-split, bochs-2_3_8-0_5_git04387139e3b_fc11, bochs-2_3_8-0_4_git04387139e3b_fc11, bochs-2_3_8-0_8_git04387139e3b_fc12, bochs-2_3_8-0_7_git04387139e3b_fc12, HEAD
File MIME type: text/x-patch
added patches
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 <avi@qumranet.com>
7 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2