MCPcopy Create free account
hub / github.com/cathery/sys-con / Initialize

Function Initialize

source/Sysmodule/source/psc_module.cpp:54–62  ·  view source on GitHub ↗

namespace

Source from the content-addressed store, hash-verified

52 }
53 } // namespace
54 Result Initialize()
55 {
56 R_TRY(pscmGetPmModule(&pscModule, PscPmModuleId(126), dependencies, sizeof(dependencies) / sizeof(uint32_t), true));
57 pscModuleWaiter = waiterForEvent(&pscModule.event);
58 is_psc_thread_running = true;
59 R_ABORT_UNLESS(threadCreate(&g_psc_thread, &PscThreadFunc, nullptr, psc_thread_stack, sizeof(psc_thread_stack), 0x2C, -2));
60 R_ABORT_UNLESS(threadStart(&g_psc_thread));
61 return 0;
62 }
63
64 void Exit()
65 {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected