From 7bf88444993a72f588ce3bd849042c3420e222a7 Mon Sep 17 00:00:00 2001 From: Liav A Date: Tue, 7 Sep 2021 12:16:49 +0300 Subject: [PATCH] Kernel/PCI: Turn on memory access by default This will allow the Kernel to utilize memory access to the PCI configuration space if such method is available. --- Kernel/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index 890603d576..0e3cc065e7 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -112,7 +112,7 @@ UNMAP_AFTER_INIT bool CommandLine::is_vmmouse_enabled() const UNMAP_AFTER_INIT PCIAccessLevel CommandLine::pci_access_level() const { - auto value = lookup("pci_ecam"sv).value_or("off"sv); + auto value = lookup("pci_ecam"sv).value_or("on"sv); if (value == "on"sv) return PCIAccessLevel::MemoryAddressing; if (value == "off"sv)