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

Kernel: Rename KParams => Kernel::CommandLine

Let's make this read more like English.
This commit is contained in:
Andreas Kling 2020-04-08 13:54:44 +02:00
parent dc7340332d
commit a7bbfda034
7 changed files with 59 additions and 42 deletions

View file

@ -25,7 +25,7 @@
*/
#include <Kernel/ACPI/ACPIParser.h>
#include <Kernel/KParams.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Net/E1000NetworkAdapter.h>
#include <Kernel/Net/RTL8139NetworkAdapter.h>
#include <Kernel/PCI/IOAccess.h>
@ -100,7 +100,7 @@ PCI::Initializer::Initializer()
}
bool PCI::Initializer::test_acpi()
{
if ((KParams::the().has("noacpi")) || !ACPI::Parser::the().is_operable())
if ((kernel_command_line().contains("noacpi")) || !ACPI::Parser::the().is_operable())
return false;
else
return true;