kern: move scheduler/interrupt task manager out of core local region

This commit is contained in:
Michael Scire committed 2020-12-01 13:03:44 -08:00
1 parent 55502fcd0c
commit 3e87b8ff17
4 files changed
+9 -7

No files matched your search

@@ -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));