Kernel: move memory_regions into Kernel instance

This commit is contained in:
Weiyi Wang 2018-10-25 21:07:15 -04:00
parent 263290d48c
commit ece96807c4
7 changed files with 21 additions and 28 deletions

View file

@ -24,9 +24,7 @@ KernelSystem::KernelSystem(u32 system_mode) {
}
/// Shutdown the kernel
KernelSystem::~KernelSystem() {
Kernel::MemoryShutdown();
}
KernelSystem::~KernelSystem() = default;
ResourceLimitList& KernelSystem::ResourceLimit() {
return *resource_limits;