kennel/process: move process list to kernel instance

This commit is contained in:
Weiyi Wang 2018-10-17 14:06:47 -04:00
parent 4238754d8c
commit d9342622b0
5 changed files with 9 additions and 15 deletions

View file

@ -619,7 +619,7 @@ void FS_USER::GetProgramLaunchInfo(Kernel::HLERequestContext& ctx) {
// TODO(Subv): The real FS service manages its own process list and only checks the processes
// that were registered with the 'fs:REG' service.
auto process = Kernel::GetProcessById(process_id);
auto process = system.Kernel().GetProcessById(process_id);
IPC::RequestBuilder rb = rp.MakeBuilder(5, 0);