From 8d78616a2b80c7625c1aa9ca4733e48a8bf8bf22 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 18 Apr 2020 00:07:37 +0200 Subject: Completely reworked ACPI tables I'm too exhausted right now, but I rediscovered the memory mapping issue of my ACPI implementatio and need to fix it ASAP. Otherwise I won't be able to use any ACPI table without causing a page fault. I have no clue why exactly this is happening and the internet says that I shouldn't need to memory map them. Well, I'll look into it later. --- src/kernel/interrupts/isr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/interrupts/isr.c') diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index c34d951..2f134c1 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -119,7 +119,7 @@ void fault_handler(struct regs *r) strcat(message, " Exception"); // Show message if there wasn't an error in video memory - if (faulting_address != (uint32_t)fb) + if (faulting_address != (uint32_t)fb || fb == 0) panic(message); else halt_loop(); -- cgit v1.2.3