1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

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.
This commit is contained in:
Liav A 2021-09-07 12:16:49 +03:00 committed by Andreas Kling
parent 25ea7461a0
commit 7bf8844499

View file

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