dynamic memory manager (malloc & free)
[lunaix-os.git] / lunaix-os / kernel / asm / x86 / idt.c
index 9f2bd069180f0ea5c26ab3439f39f44ea0563f6e..19b63e0d2ad788589c2fced1024d1593b2affc2c 100644 (file)
@@ -1,6 +1,5 @@
 #include <arch/x86/idt.h>
 #include <arch/x86/interrupts.h>
-#include <arch/x86/types.h>
 #include <stdint.h>
 
 #define IDT_ENTRY 32
@@ -19,4 +18,5 @@ void _set_idt_entry(uint32_t vector, uint16_t seg_selector, void (*isr)(), uint8
 void
 _init_idt() {
     _set_idt_entry(FAULT_DIVISION_ERROR, 0x08, _asm_isr0, 0);
+    _set_idt_entry(FAULT_GENERAL_PROTECTION, 0x08, _asm_isr13, 0);
 }
\ No newline at end of file