diff options
author | Marvin Borner | 2020-01-16 21:08:43 +0100 |
---|---|---|
committer | GitHub | 2020-01-16 21:08:43 +0100 |
commit | d5d1749257ff8b9aa6b5ace4b4720b484a2860f3 (patch) | |
tree | a2cd4f1c7995e32c1c02b191324fa63f9d30655b /src/kernel/interrupts | |
parent | 602b98247e9c87e38870e39abf1d8b13aeae5d0f (diff) | |
parent | 366119b53d5148922c5df7c7bd088ed71e95499a (diff) |
Merged fancy userspace paging
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r-- | src/kernel/interrupts/isr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index eb932b2..8b2a9e5 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -3,6 +3,7 @@ #include <kernel/system.h> #include <kernel/lib/string.h> #include <kernel/lib/stdio.h> +#include <kernel/paging/paging.h> // Install ISRs in IDT void isrs_install() @@ -116,6 +117,7 @@ void fault_handler(struct regs *r) r->eip, r->eax, r->ebx, r->ecx, r->edx, r->esp, faulting_address, r->eflags, r->err_code, r->int_no, exception_messages[r->int_no] ); + serial_printf("%d", paging_get_flags(faulting_address)); // halt_loop(); // Idk loop? char *message = (char *) exception_messages[r->int_no]; strcat(message, " Exception"); |