diff options
author | dzwdz | 2021-07-10 16:17:43 +0200 |
---|---|---|
committer | dzwdz | 2021-07-10 16:17:43 +0200 |
commit | 1faac72e2514c335e2d5721dce8c9fd1da722062 (patch) | |
tree | 37881c60756e6d42daf7999cb4cc110c07f39e36 /kernel/idt.c | |
parent | 1cc98d32bf344691c73fcc7b64e2ed2755f17ede (diff) |
add a basic #GP handler
Diffstat (limited to 'kernel/idt.c')
-rw-r--r-- | kernel/idt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/idt.c b/kernel/idt.c index 96d6d15..65f511f 100644 --- a/kernel/idt.c +++ b/kernel/idt.c @@ -53,6 +53,7 @@ static void idt_prepare() { IDT[i].present = 0; idt_add(0x08, false, isr_double_fault); + idt_add(0x0d, false, isr_general_protection_fault); idt_add(0x34, false, isr_test_interrupt); } |