diff options
Diffstat (limited to 'kernel/main.c')
-rw-r--r-- | kernel/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c index 5c5299e..3ff0463 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -27,6 +27,8 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) serial_print("Serial connected.\n"); memory_install(mem_info, vid_info); + memory_switch_dir(virtual_kernel_dir()); + paging_enable(); cpu_enable_features(); cpu_print(); |