From a10aabfcd52f702057316018cd7847ab2bfe4aa1 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Tue, 26 May 2026 21:32:27 +0000 Subject: we're bringing kjarna back and not doing the crazy stuff with trying to have task management during efi. that was a bit extra. --- kc/core/pic8259.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kc/core/pic8259.c') diff --git a/kc/core/pic8259.c b/kc/core/pic8259.c index 4ddd2e1..792d0bd 100644 --- a/kc/core/pic8259.c +++ b/kc/core/pic8259.c @@ -4,7 +4,7 @@ #include -#include +#include #define ICW1_ICW4 0x1 #define ICW1_SINGLE 0x2 @@ -28,7 +28,7 @@ void pic8259_irq_install(uint8_t irq, pic8259_handler_func h) { if (irq_handlers[irq]) { - kprintf("attempt to overwrite irq handler for %u\n", irq); + printf("attempt to overwrite irq handler for %u\n", irq); return; } irq_handlers[irq] = h; @@ -43,7 +43,7 @@ static void wait(void) void pic8259_init(void) { - kprintf("initializing legacy pic\n"); + printf("initializing legacy pic\n"); // basic init. not gonna fret with this too much outb(PIC_PRI_CMD, ICW1_INIT|ICW1_ICW4); wait(); @@ -171,7 +171,7 @@ void pic8259_irq_begin(uint8_t irq) // check for spurious activations if (irq_is_spurious(irq)) { - kprintf("spurious activation of irq%hhu\n", irq); + printf("spurious activation of irq%hhu\n", irq); return; } @@ -181,12 +181,12 @@ void pic8259_irq_begin(uint8_t irq) if (result) { - kprintf("error handling irq%hhu: % d\n", irq, result); + printf("error handling irq%hhu: % d\n", irq, result); } } else { - kprintf("unhandled irq%hhu\n", irq); + printf("unhandled irq%hhu\n", irq); } pic8259_irq_end(irq); -- cgit v1.3.1-1-g115d