diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-23 13:57:18 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-23 13:57:18 -0400 |
commit | 974fcf5d87ee315601f797e609b1030ef5b329b8 (patch) | |
tree | 9dfad38f5b25fba41e1529008c91367a960c8f7f /kernel/cpu | |
parent | some paging updates (more to come) (diff) | |
download | comus-974fcf5d87ee315601f797e609b1030ef5b329b8.tar.gz comus-974fcf5d87ee315601f797e609b1030ef5b329b8.tar.bz2 comus-974fcf5d87ee315601f797e609b1030ef5b329b8.zip |
update paging code
Diffstat (limited to 'kernel/cpu')
-rw-r--r-- | kernel/cpu/idt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/cpu/idt.c b/kernel/cpu/idt.c index 42cf651..bf4b499 100644 --- a/kernel/cpu/idt.c +++ b/kernel/cpu/idt.c @@ -120,8 +120,7 @@ void idt_exception_handler(uint64_t exception, uint64_t code, case EX_PAGE_FAULT: // page faults store the offending address in cr2 __asm__ volatile("mov %%cr2, %0" : "=r"(cr2)); - if (!kload_page((void *)cr2)) - return; + break; } kputs("\n\n!!! EXCEPTION !!!\n"); |