diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-10 18:07:35 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-10 18:07:35 +0100 |
commit | 4210c4ae384753825e10c5ea4ad1e99e9bba2c1f (patch) | |
tree | 4406242c6b6e6eb4658c1bc3cbe927b378f11dbc /stage3/main.c | |
parent | bc00cb0649167958aed2f481580af3b4f21043b0 (diff) | |
download | cuddles-4210c4ae384753825e10c5ea4ad1e99e9bba2c1f.tar.xz |
handle IRQs
Diffstat (limited to 'stage3/main.c')
-rw-r--r-- | stage3/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stage3/main.c b/stage3/main.c index 9ddcacf..630379b 100644 --- a/stage3/main.c +++ b/stage3/main.c @@ -6,6 +6,7 @@ #include "font.h" #include "letters.h" #include "interrupts.h" +#include "pic.h" void init() { @@ -67,8 +68,10 @@ void init() } init_interrupts(); + pic_init(); - int a = 1/0; + unmask_irq(IRQ_PIT); + enable_irqs(); halt(); } |