kern: implement much of KScheduler, KHardwareTimer

This commit is contained in:
Michael Scire 2020-02-05 13:02:35 -08:00
commit 62de3322ff
19 changed files with 972 additions and 72 deletions

View file

@ -61,7 +61,10 @@ namespace ams::kern {
SetCurrentThread(main_thread);
SetCurrentProcess(nullptr);
/* TODO: We also want to initialize the scheduler/interrupt manager/hardware timer. */
/* TODO: Initialize the interrupt manager. */
GetInterruptManager().Initialize(core_id);
GetHardwareTimer().Initialize(core_id);
GetScheduler().Initialize(idle_thread);
}
}