Skip to content

Commit

Permalink
Kernel/PCI: Turn on memory access by default
Browse files Browse the repository at this point in the history
This will allow the Kernel to utilize memory access to the PCI
configuration space if such method is available.
  • Loading branch information
supercomputer7 authored and awesomekling committed Sep 7, 2021
1 parent 25ea746 commit 7bf8844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7bf8844

Please sign in to comment.