Kernel: make config_mem and MapSharedPages members of KernelSystem

This commit is contained in:
Weiyi Wang 2018-10-25 10:51:00 -04:00
parent 95790218f2
commit 773ec47629
8 changed files with 37 additions and 21 deletions

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>();