summaryrefslogtreecommitdiff
path: root/kc/core/pic8259.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-05-20 17:42:55 +0000
committerAda Christine <adachristine18@gmail.com>2023-05-20 17:42:55 +0000
commite9cee5052da1298347c362ee6ae89b7fdaa84d04 (patch)
tree297175131bb38d7d0dedcc198e9402c0aab2dc64 /kc/core/pic8259.c
parent11239640cba1d187f0b09c4bc3c3e0b76d03bd0c (diff)
handle reserved memory regions correctly by ignoring them
Diffstat (limited to 'kc/core/pic8259.c')
-rw-r--r--kc/core/pic8259.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kc/core/pic8259.c b/kc/core/pic8259.c
index bbcffc8..4ddd2e1 100644
--- a/kc/core/pic8259.c
+++ b/kc/core/pic8259.c
@@ -43,6 +43,7 @@ static void wait(void)
void pic8259_init(void)
{
+ kprintf("initializing legacy pic\n");
// basic init. not gonna fret with this too much
outb(PIC_PRI_CMD, ICW1_INIT|ICW1_ICW4);
wait();