Kernel: pass in MemorySystem
This commit is contained in:
parent
6992f76acf
commit
8118be6615
6 changed files with 17 additions and 7 deletions
|
@ -16,7 +16,7 @@
|
|||
namespace Kernel {
|
||||
|
||||
/// Initialize the kernel
|
||||
KernelSystem::KernelSystem(u32 system_mode) {
|
||||
KernelSystem::KernelSystem(Memory::MemorySystem& memory, u32 system_mode) : memory(memory) {
|
||||
MemoryInit(system_mode);
|
||||
|
||||
resource_limits = std::make_unique<ResourceLimitList>(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue