aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging
diff options
context:
space:
mode:
authorMarvin Borner2019-12-21 22:22:03 +0100
committerMarvin Borner2019-12-21 22:22:03 +0100
commit499784a824c541001c2fd52ae95eba88dcfc952b (patch)
treec3c26d7c8a3b9291d909f4655b7d27a5ae2369bc /src/kernel/paging
parent38610cd06dc0b5a3a4ee46f5fe7c341191aa2bc1 (diff)
Many debugging/serial improvements
Sorry for the little information, but I did many things :)
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();