mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-04 07:08:51 +00:00
kern: move scheduler/interrupt task manager out of core local region
This commit is contained in:
parent
55502fcd0c
commit
3e87b8ff17
4 changed files with 9 additions and 7 deletions
|
@ -49,8 +49,8 @@ namespace ams::kern {
|
|||
/* Initialize current context. */
|
||||
clc->current.current_thread = nullptr;
|
||||
clc->current.current_process = nullptr;
|
||||
clc->current.scheduler = std::addressof(clc->scheduler);
|
||||
clc->current.interrupt_task_manager = std::addressof(clc->interrupt_task_manager);
|
||||
clc->current.scheduler = std::addressof(Kernel::GetScheduler());
|
||||
clc->current.interrupt_task_manager = std::addressof(Kernel::GetInterruptTaskManager());
|
||||
clc->current.core_id = core_id;
|
||||
clc->current.exception_stack_top = GetVoidPointer(KMemoryLayout::GetExceptionStackTopAddress(core_id) - sizeof(KThread::StackParameters));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue