diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-28 14:53:13 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-28 14:53:13 +0200 |
commit | 09cf6b4ca8799990b9c01db04c5f4ffbef798773 (patch) | |
tree | d660da543cccbfad03d637b34815017d0e477e47 /src/irq | |
parent | Enable interrupts (diff) | |
download | kernel.cpp-09cf6b4ca8799990b9c01db04c5f4ffbef798773.tar.xz |
Fix interrupts causing exception 0xd
Diffstat (limited to 'src/irq')
-rw-r--r-- | src/irq/kirq.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/irq/kirq.cc b/src/irq/kirq.cc deleted file mode 100644 index acd57d4..0000000 --- a/src/irq/kirq.cc +++ /dev/null @@ -1,21 +0,0 @@ -#include <stdlib.h> -#include "../idt.h" -#include "ports.h" - -template <> -void kirq<0x0>(interrupt_frame*) { - printk("Interrupt 0x0\n"); - - // send end of interrupt - pic1_t pic1; - pic1.write(0x20); -} - -template <> -void kirq<0x1>(interrupt_frame*) { - printk("Interrupt 0x0\n"); - - // send end of interrupt - pic1_t pic1; - pic1.write(0x20); -} |