diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-08 16:07:33 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-08 16:07:33 -0400 |
commit | 1a8a3bfcad19687c67fb9e7861a71e2345909ce4 (patch) | |
tree | e230b455d241ca78b499e0369e7e6cab5532c3c0 /src/sys/arch/amd64/boot | |
parent | 85cd8a1ef0436a83505d341f331a689a135e69da (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'src/sys/arch/amd64/boot')
-rw-r--r-- | src/sys/arch/amd64/boot/boot_chip.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <io/pci/pci.h> #include <stdbool.h> +/* 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(); } |