Unstick system by acknowledging IRQs on boot

This commit is contained in:
Jeremy Soller
2017-02-07 22:14:28 -07:00
parent be43673df6
commit 776bb83a70

View File

@@ -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);
}