From 94134751190ff05bb72d86298838fd128406a305 Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Sun, 19 Apr 2020 13:25:43 +0200 Subject: [PATCH] Don't use the I/O APIC by default, since this would require pcid to know the _PRT (PCI routing table) to use and map the interrupt pins to the correct IRQs. xhcid is unaffected by this though, since it uses MSI-X. All ACPI handling will be done in userspace before the infrastructure necessary would make sense (I don't think adding serde to the kernel would be optimal, and how else would all of the ACPI namespace be parsed?). --- src/arch/x86_64/device/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86_64/device/mod.rs b/src/arch/x86_64/device/mod.rs index 656d2b25..0c3f4dec 100644 --- a/src/arch/x86_64/device/mod.rs +++ b/src/arch/x86_64/device/mod.rs @@ -16,7 +16,7 @@ pub unsafe fn init(active_table: &mut ActivePageTable) { } pub unsafe fn init_after_acpi(active_table: &mut ActivePageTable) { // this will disable the IOAPIC if needed. - ioapic::init(active_table); + //ioapic::init(active_table); } #[cfg(feature = "acpi")] -- GitLab