From b96c27bba0b242fc860fc9a2fcb63f121312fa7e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 20 Mar 2021 19:52:56 +0100 Subject: LGTM! --- kernel/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/main.c') 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(); -- cgit v1.2.3