service: Remove two usages of the global system accessor

Removes more instances of reliance on global state.
This commit is contained in:
Lioncash 2020-09-07 03:17:06 -04:00
parent 841b295ad0
commit ffdf8c0cb3
3 changed files with 5 additions and 7 deletions

View file

@ -43,7 +43,7 @@ void ServiceManager::InstallInterfaces(std::shared_ptr<ServiceManager> self,
ASSERT(self->sm_interface.expired());
auto sm = std::make_shared<SM>(self, kernel);
sm->InstallAsNamedPort();
sm->InstallAsNamedPort(kernel);
self->sm_interface = sm;
self->controller_interface = std::make_unique<Controller>();
}