diff --git a/arch/x86_64/src/start.rs b/arch/x86_64/src/start.rs index 448800959f7142c54a3682c9b9c4a2e3b615d8b7..8af0168d8982a7791dfb0de334ac4ae165051b0d 100644 --- a/arch/x86_64/src/start.rs +++ b/arch/x86_64/src/start.rs @@ -120,6 +120,9 @@ pub unsafe extern fn kstart() -> ! { // Read ACPI tables, starts APs acpi::init(&mut active_table); + // Clear pending IRQs + interrupt::irq::acknowledge(8); + BSP_READY.store(true, Ordering::SeqCst); }