From 6c08344548432f0a699dc5675f4f49a2fd0faa80 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 19 Apr 2022 11:57:19 +0200 Subject: [PATCH] Bugs --- kernel/idt.c | 2 +- kernel/isr.asm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/idt.c b/kernel/idt.c index 9df7dd5..b8f6ee9 100644 --- a/kernel/idt.c +++ b/kernel/idt.c @@ -31,7 +31,7 @@ void exception_handler() { uint* eip_ptr = 0xe223; uint eip = *eip_ptr; buf = itoa(eip, buf, 16); - print(" eax= ", EXC_COLOR); + print(" eax=", EXC_COLOR); print(buf, 0x0e); } diff --git a/kernel/isr.asm b/kernel/isr.asm index 1d45340..9cb4355 100644 --- a/kernel/isr.asm +++ b/kernel/isr.asm @@ -7,7 +7,6 @@ isr_stub_%+%1: mov [isr_debug_ptr], byte %1 ; Save the instruction pointer - pop eax mov [isr_eip_ptr], dword eax ; Handle the exception