kernel/vm_manager: Remove usages of global system accessors

Makes the dependency on the system instance explicit within VMManager's
interface.
This commit is contained in:
Lioncash 2019-04-16 05:07:43 -04:00
parent d41d65dd10
commit 6a42862a16
3 changed files with 11 additions and 7 deletions

View file

@ -248,7 +248,8 @@ void Process::LoadModule(CodeSet module_, VAddr base_addr) {
}
Process::Process(Core::System& system)
: WaitObject{system.Kernel()}, address_arbiter{system}, mutex{system}, system{system} {}
: WaitObject{system.Kernel()}, vm_manager{system},
address_arbiter{system}, mutex{system}, system{system} {}
Process::~Process() = default;