commit | 9b3584bd27e29c8966ab90a70bf8b9e02a46e900 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Feb 18 13:57:27 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Thu Feb 18 13:57:27 2021 -0800 |
tree | b8936fd9dc458bfd139eec0f5cbb04aa845b8d12 | |
parent | 0b35bf237b190ccfbdb9e71cd7057c03c880ad48 [diff] [blame] |
Initialize PIC
diff --git a/src/interrupts.c b/src/interrupts.c index c8ded7c..c1743d1 100644 --- a/src/interrupts.c +++ b/src/interrupts.c
@@ -1,13 +1,6 @@ #include "kint.h" #include "vga.h" - -struct registers -{ - uint ds; - uint edi, esi, ebp, esp, ebx, edx, ecx, eax; - uint interrupt_number, error_code; - uint eip, cs, eflags, useresp, ss; -}; +#include "registers.h" void isr_handler(struct registers regs) {