diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-11-10 03:34:30 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-11-10 03:34:30 +0800 |
| commit | 2fac7e284531dccd9919a3207902e08d4def5cf8 (patch) | |
| tree | 56022ba4bf349bc1a0f46d029d0580d1ffe622b8 /mubios/include/bios.h | |
| parent | c3c996300c7c9231363ed1450ef63c9bd7a52f46 (diff) | |
| download | rcc-project-2fac7e284531dccd9919a3207902e08d4def5cf8.tar.gz rcc-project-2fac7e284531dccd9919a3207902e08d4def5cf8.tar.xz | |
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.h | 1 |
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); |
