Kernel: make config_mem and MapSharedPages members of KernelSystem

This commit is contained in:
Weiyi Wang
2018-11-01 12:56:40 -04:00
parent 95790218f2
commit 773ec47629
8 changed files with 37 additions and 21 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ namespace Kernel {
/// Initialize the kernel
KernelSystem::KernelSystem(u32 system_mode) {
ConfigMem::Init();
Kernel::MemoryInit(system_mode);
MemoryInit(system_mode);
resource_limits = std::make_unique<ResourceLimitList>(*this);
thread_manager = std::make_unique<ThreadManager>();