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
commit a7bbfda034
Notes: sideshowbarker 2024-07-19 07:48:34 +09:00
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;