aboutsummaryrefslogtreecommitdiff
path: root/mubios/include/bios.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-11-10 03:34:30 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-11-10 03:34:30 +0800
commit2fac7e284531dccd9919a3207902e08d4def5cf8 (patch)
tree56022ba4bf349bc1a0f46d029d0580d1ffe622b8 /mubios/include/bios.h
parentc3c996300c7c9231363ed1450ef63c9bd7a52f46 (diff)
downloadrcc-project-master.tar.gz
rcc-project-master.tar.xz
[mubios] Configure PIIX PCI interrupt routing during POSTHEADmaster
PCI devices retained interrupt line zero, causing e1000 to request the timer IRQ and fail to bring up the network interface. Enumerate the root PCI bus, configure PIIX3 PIRQ A-D to IRQ10/10/11/11, and assign device interrupt lines using the QEMU pc slot and pin mapping. Keep the PIIX PM SCI on IRQ9 and configure level triggering in the ELCR while preserving other IRQ settings. Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'mubios/include/bios.h')
-rw-r--r--mubios/include/bios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mubios/include/bios.h b/mubios/include/bios.h
index c52af80..3bd13dc 100644
--- a/mubios/include/bios.h
+++ b/mubios/include/bios.h
@@ -56,6 +56,7 @@ void kbd_init (void);
void pic_init (void);
void pit_init (void);
void ioapic_init (void);
+void pci_irq_init (void);
void vga_text_mode_init (void);
void ivt_init (void);