From ba758bcef8711f6418105598c45c528bd2133722 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 21:01:18 +0100 Subject: [PATCH] Initialize the KernelVM --- kernel/src/memory/MemoryManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/src/memory/MemoryManager.cpp b/kernel/src/memory/MemoryManager.cpp index 0122b9e8..d220710d 100644 --- a/kernel/src/memory/MemoryManager.cpp +++ b/kernel/src/memory/MemoryManager.cpp @@ -2,6 +2,7 @@ #include "Log.h" #include "arch/CPU.h" #include "arch/MMU.h" +#include "memory/KernelVM.h" #include "memory/MemoryMap.h" #include #include @@ -96,6 +97,7 @@ namespace MemoryManager void init() { init_physical_frame_allocator(); + KernelVM::init(); MMU::setup_initial_page_directory(); }