diff options
author | Liav A <liavalb@gmail.com> | 2021-09-07 12:16:49 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-07 13:47:37 +0200 |
commit | 7bf88444993a72f588ce3bd849042c3420e222a7 (patch) | |
tree | d581be537fbbadd7a3be2ef424837b192adc8af9 /Kernel | |
parent | 25ea7461a0e5a6c2ed1a43b80b1db8b2ac3b3764 (diff) | |
download | serenity-7bf88444993a72f588ce3bd849042c3420e222a7.zip |
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.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/CommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |