From 1a8a3bfcad19687c67fb9e7861a71e2345909ce4 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 8 Oct 2025 16:07:33 -0400 Subject: kern/amd64: Reserve 64 vectors for I/O APIC inputs This commit reserves the first 64 vectors for the I/O APIC input lines. During an IRQ, each handler will be called to see which one handles it. Signed-off-by: Ian Moffett --- src/sys/arch/amd64/boot/boot_chip.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sys/arch/amd64/boot') diff --git a/src/sys/arch/amd64/boot/boot_chip.c b/src/sys/arch/amd64/boot/boot_chip.c index 18ab2df..e2a2d6b 100644 --- a/src/sys/arch/amd64/boot/boot_chip.c +++ b/src/sys/arch/amd64/boot/boot_chip.c @@ -39,6 +39,9 @@ #include #include +/* From vector.S */ +extern void irq_init_pins(void); + static void chipset_init(void) { @@ -83,4 +86,5 @@ platform_boot(void) init_tss(core); chipset_init(); + irq_init_pins(); } -- cgit v1.2.3