aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/paging')
-rw-r--r--src/kernel/paging/paging.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/paging/paging.c b/src/kernel/paging/paging.c
index 5797940..723e09a 100644
--- a/src/kernel/paging/paging.c
+++ b/src/kernel/paging/paging.c
@@ -1,7 +1,6 @@
#include <stdint.h>
#include <kernel/paging/paging.h>
#include <kernel/system.h>
-#include <kernel/io/io.h>
#include <kernel/lib/lib.h>
int paging_enabled = 0;
@@ -22,7 +21,6 @@ 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); // TODO: Fix major security issue (all memory = shared)
paging_enable();