diff options
author | Marvin Borner | 2021-03-20 19:52:56 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-20 19:52:56 +0100 |
commit | b96c27bba0b242fc860fc9a2fcb63f121312fa7e (patch) | |
tree | 0febf9d97020f131055ee41fe6d8b8bd6593045a /kernel/main.c | |
parent | 635751fc2a75f66d1541469b3204efb1701bd91c (diff) |
LGTM!
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(); |