1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

Kernel: Boot all APS all the way into their own idle loop

This commit is contained in:
Tom 2020-06-28 22:36:12 -06:00 committed by Andreas Kling
parent 691d767fba
commit 96109e9776
2 changed files with 27 additions and 22 deletions

View file

@ -172,14 +172,8 @@ extern "C" [[noreturn]] void init_ap(u32 cpu, Processor* processor_info)
APIC::the().enable(cpu);
#if 0
Scheduler::idle_loop();
#else
// FIXME: remove once schedule can handle APs
cli();
for (;;)
asm volatile("hlt");
#endif
Scheduler::initialize(cpu);
Scheduler::start();
ASSERT_NOT_REACHED();
}