mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-07 00:28:47 +00:00
kern: implement much of KScheduler, KHardwareTimer
This commit is contained in:
parent
5e4307046a
commit
62de3322ff
19 changed files with 972 additions and 72 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue