From 425a2ca6ad54f4e2e85cb0a134aeea059e865c1d Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 6 Mar 2020 03:28:56 +0200 Subject: [PATCH] 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. --- Kernel/init.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 33407c7ecd..0d268db2f8 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -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; }