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:
parent
d41d65dd10
commit
6a42862a16
3 changed files with 11 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue