From 6188eed3863e6087a7d5b7d988e91d711b45064b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Dec 2019 21:02:08 +0100 Subject: Single hardcoded pixel drawing in userspace somehow works a bit --- src/kernel/paging/paging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/paging/paging.c') diff --git a/src/kernel/paging/paging.c b/src/kernel/paging/paging.c index a43fffc..be7e264 100644 --- a/src/kernel/paging/paging.c +++ b/src/kernel/paging/paging.c @@ -22,7 +22,7 @@ void paging_install() paging_set_present(0, memory_get_all() >> 2); // /4 paging_set_used(0, ((uint32_t) ASM_KERNEL_END >> 12) + 1); // /4096 - // paging_set_user(0, memory_get_all() >> 2); + paging_set_user(0, memory_get_all() >> 2); // TODO: Fix major security issue (all memory = shared) paging_enable(); -- cgit v1.2.3