diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-15 07:45:15 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-15 07:45:15 -0400 |
commit | 03c11496a74f6d92a58fefbaa87fbcb2887d401b (patch) | |
tree | 10fc24f58a5e4b583a830e49373065a17177b08c /src/sys/arch/amd64/boot/boot_chip.c | |
parent | a5c236a7a545f6a582fc20ea44ca9e70ab5a883e (diff) |
kern/amd64: boot: Disable the i8259 chip on boot
To avoid interrupt conflicts on some machines with the I/O APIC, disable
the legacy i8259 chip by default
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/arch/amd64/boot/boot_chip.c')
-rw-r--r-- | src/sys/arch/amd64/boot/boot_chip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/arch/amd64/boot/boot_chip.c b/src/sys/arch/amd64/boot/boot_chip.c index 80daf27..737309f 100644 --- a/src/sys/arch/amd64/boot/boot_chip.c +++ b/src/sys/arch/amd64/boot/boot_chip.c @@ -31,10 +31,12 @@ #include <machine/uart.h> #include <machine/gdt.h> #include <machine/boot.h> +#include <machine/i8259.h> void platform_boot(void) { gdt_load(); + i8259_disable(); uart_init(); } |