Init Stage: Allow to boot with smp=on

One can now set the kernel boot argument smp to on, and therefore, to
instruct the kernel to use the IOAPIC instead of the PIC.
This commit is contained in:
Liav A 2020-03-06 03:28:56 +02:00 committed by Andreas Kling
parent c335c94242
commit 425a2ca6ad

View file

@ -475,10 +475,7 @@ void setup_interrupts()
return;
}
if (smp == "on") {
ASSERT_NOT_REACHED(); // FIXME: The IOAPIC mode is not stable yet so we can't use it now.
InterruptManagement::the().switch_to_ioapic_mode();
APIC::init();
APIC::enable_bsp();
return;
}