mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
kern: move KTargetSystem into .rodata, split init/verify
This commit is contained in:
parent
3394a88a1a
commit
743634c3fd
6 changed files with 83 additions and 54 deletions
|
@ -111,4 +111,8 @@ namespace ams::kern {
|
|||
KThread &Kernel::GetMainThread(s32 core_id) { return g_main_threads.m_arr[core_id]; }
|
||||
KThread &Kernel::GetIdleThread(s32 core_id) { return g_idle_threads.m_arr[core_id]; }
|
||||
|
||||
__attribute__((constructor)) void ConfigureKTargetSystem() {
|
||||
KSystemControl::ConfigureKTargetSystem();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue