Nucleus
Barry Object manager and heap in kernel library 08afe80 (3 years, 2 months ago)diff --git a/memory/paging.c b/memory/paging.c index c88eee1..e9a8a83 100644 --- a/memory/paging.c +++ b/memory/paging.c @@ -8,9 +8,9 @@ #include <stdint.h> #include <nucleus/lib.h> #include <nucleus/memory.h> -#include "paging.h" void copy_page_frame(uintptr_t src, uintptr_t dest); +void page_fault_handler(struct InterruptFrame *frame); page_t zeroFrame; static page_dir_t kernelDir; @@ -151,7 +151,7 @@ init_paging(void) */ /* Use kernel directory */ - register_exception(14, early_page_fault_handler); + register_exception(14, page_fault_handler); cpu_load_paging(); /* Allocate a kernel stack */