Execute AML code after IOAPIC init,

which tells the firmware that the I/O APIC is used rather than the 8259
PIC.
This commit is contained in:
4lDO2
2020-04-18 23:17:37 +02:00
parent 8c351e0768
commit 02ca8edfc5

View File

@@ -306,15 +306,6 @@ pub unsafe fn init(active_table: &mut ActivePageTable) {
_ => (),
}
}
<<<<<<< HEAD
/*
let namespace_guard = crate::acpi::ACPI_TABLE.namespace.read();
for (k, v) in namespace_guard.as_ref().unwrap().iter() {
println!("{} = {:?}", k, v);
}
*/
=======
>>>>>>> c723256... Use the I/O APIC when applicable.
}
println!("I/O APICs: {:?}, overrides: {:?}", ioapics(), src_overrides());