aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging/paging.c
diff options
context:
space:
mode:
authorMarvin Borner2019-12-16 21:02:08 +0100
committerMarvin Borner2019-12-16 21:02:08 +0100
commit6188eed3863e6087a7d5b7d988e91d711b45064b (patch)
tree920d479a437214ae6d3e164e3fc3a3b72c1b31f8 /src/kernel/paging/paging.c
parent31aaf43b77bb86d3668f6903ca48ffdb0812cfe2 (diff)
Single hardcoded pixel drawing in userspace somehow works a bit
Diffstat (limited to 'src/kernel/paging/paging.c')
-rw-r--r--src/kernel/paging/paging.c2
1 files changed, 1 insertions, 1 deletions
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();