From 785d20a6b809e140448108e29b791d59c4650c91 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 16 Mar 2021 20:46:15 +0200 Subject: Mostly fix scheduler throwing page faults --- src/idt/exception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idt/exception.cc') diff --git a/src/idt/exception.cc b/src/idt/exception.cc index efffd95..b15fe83 100644 --- a/src/idt/exception.cc +++ b/src/idt/exception.cc @@ -2,7 +2,7 @@ #include "cpu/registers.h" extern "C" void handle_exception(const cpu_state_t* r) { - printk("exception ", uhex{r->irq}, " error ", uhex{r->error}, "eip: ", uhex{r->eip}, '\n'); + printk("exception ", uhex{r->irq}, " ec ", uhex{r->error}, " eip: ", uhex{r->eip}, '\n'); abort(); }; -- cgit v1.2.1