master
E. Almqvist 3 years ago
parent 29e3c5303d
commit fce0dcc801
  1. 5
      kernel/idt.c

@ -23,13 +23,12 @@ void exception_handler() {
char* buf; char* buf;
new_line(); print("[E] ", INT_COLOR);
print("Exception: ", INT_COLOR);
buf = itoa(debug, buf, 10); buf = itoa(debug, buf, 10);
println(buf, 0x0f); println(buf, 0x0f);
//__asm__ __volatile__("cli; hlt"); __asm__ __volatile__("cli; iret");
} }
void idt_set_desc(uint8 idx, void* isr, uint8 flags) { void idt_set_desc(uint8 idx, void* isr, uint8 flags) {

Loading…
Cancel
Save