[zion] Move more initialization into the ApicTimer class.
This commit is contained in:
parent
d99624daf6
commit
f8de60e2dd
3 changed files with 12 additions and 11 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue