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:
parent
691d767fba
commit
96109e9776
2 changed files with 27 additions and 22 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue