summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-17 22:54:48 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-17 22:54:48 +0100
commitc8032c1bf3a951cbd7aaef8b9a03b12aabd1f691 (patch)
treeedddfddc7054775bee81ac9d1e8d6d84f8477ace /kernel/kernel.c
parent9c98882150b903343afb349e74ee850bfa16b5c2 (diff)
identity paging re-enabled
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index b45703a..a5bbfcc 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -12,6 +12,7 @@
#include "spinlock.h"
#include "syscalls.h"
#include "mem.h"
+#include "vmem.h"
#include "interrupts.h"
#include "acpi.h"
#include "mp.h"
@@ -153,10 +154,7 @@ void kernel_main(uint32_t initial_stack, int mp)
//
// Activate Virtual Memory (paging)
//
- // paging (pass the vesa physbase address for identity mapping)
- // TODO: we will work on this later (not needed so urgently yet)
- //
- //vmem_init(vesa_physbase);
+ vmem_init();
//
// Scan the PCI Bus