service/sm: Eliminate dependency on the global system instance
This commit is contained in:
parent
fcd0925ecf
commit
78b1bc3b61
3 changed files with 9 additions and 7 deletions
|
@ -178,7 +178,7 @@ struct System::Impl {
|
|||
arp_manager.ResetAll();
|
||||
|
||||
telemetry_session = std::make_unique<Core::TelemetrySession>();
|
||||
service_manager = std::make_shared<Service::SM::ServiceManager>();
|
||||
service_manager = std::make_shared<Service::SM::ServiceManager>(kernel);
|
||||
|
||||
Service::Init(service_manager, system);
|
||||
GDBStub::DeferStart();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue