mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
Finish bootup_misc_mmio() - Cur build gets to end of pk2ldr.
This commit is contained in:
parent
ca7b441079
commit
a292e95c2f
11 changed files with 175 additions and 4 deletions
|
@ -157,11 +157,15 @@ void restore_current_core_context(void) {
|
|||
}
|
||||
}
|
||||
|
||||
void set_core_is_active(uint32_t core, bool is_active) {
|
||||
g_cpu_contexts[core].is_active = (is_active) ? 1 : 0;
|
||||
}
|
||||
|
||||
void set_current_core_active(void) {
|
||||
g_cpu_contexts[get_core_id()].is_active = 1;
|
||||
set_core_is_active(get_core_id(), true);
|
||||
}
|
||||
|
||||
void set_current_core_inactive(void) {
|
||||
g_cpu_contexts[get_core_id()].is_active = 0;
|
||||
set_core_is_active(get_core_id(), false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue