master
E. Almqvist 3 years ago
parent 901ab00dfd
commit 6c08344548
  1. 2
      kernel/idt.c
  2. 1
      kernel/isr.asm

@ -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);
}

@ -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

Loading…
Cancel
Save