From 4130fbcdcfd2baa6d1f9b065ce34afa2a339f670 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Mon, 17 Jan 2022 14:03:39 +0000 Subject: entering the idle task appears to work --- kc/core/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kc/core/memory.c') diff --git a/kc/core/memory.c b/kc/core/memory.c index 9956bfd..ba0ca57 100644 --- a/kc/core/memory.c +++ b/kc/core/memory.c @@ -537,12 +537,12 @@ static uint64_t *get_kernel_pm2e(void *vaddr) return &kernel_pm2[kpm2_index(vaddr)]; } - int anonymous_page_handler(uint32_t code, void *address) { kputs("anonymous space fault\n"); if (code & PAGE_PR) { + kputs("can't fault a present page\n"); // there's no reason a protection violation should happen // in anonymous space panic(UNHANDLED_FAULT); -- cgit v1.3.1-1-g115d