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:
parent
25ea7461a0
commit
7bf8844499
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue