Merge pull request #443 from ogniK5377/ipc-500

Added IPC RequestWithContext & ControlWithContext
This commit is contained in:
Sebastian Valle
2018-05-19 17:03:30 -05:00
committed by GitHub
3 changed files with 7 additions and 1 deletions

View File

@ -144,10 +144,12 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co
rb.Push(RESULT_SUCCESS);
return ResultCode(ErrorModule::HIPC, ErrorDescription::RemoteProcessDead);
}
case IPC::CommandType::ControlWithContext:
case IPC::CommandType::Control: {
Core::System::GetInstance().ServiceManager().InvokeControlRequest(context);
break;
}
case IPC::CommandType::RequestWithContext:
case IPC::CommandType::Request: {
InvokeRequest(context);
break;