[zion] Move more initialization into the ApicTimer class.

This commit is contained in:
Drew Galbraith 2023-08-01 21:48:20 -07:00
parent d99624daf6
commit f8de60e2dd
3 changed files with 12 additions and 11 deletions

View file

@ -39,11 +39,7 @@ extern "C" void zion() {
dbgln("[boot] Init scheduler.");
ProcessManager::Init();
Scheduler::Init();
// Schedule every 50ms.
ApicTimer::Init();
asm("sti;");
gApicTimer->WaitCalibration();
asm("cli;");
dbgln("[boot] Loading sys init program.");
LoadInitProgram();