mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-04 15:18:56 +00:00
kern: move KTargetSystem into .rodata, split init/verify
This commit is contained in:
parent
117da7ff37
commit
e200dfb48c
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