mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 18:27:42 +00:00
Kernel/Commandline: Remove a remainder of the removed boot_mode flag
This commit is contained in:
parent
6164729d06
commit
d4bfb479fd
1 changed files with 0 additions and 6 deletions
|
@ -45,12 +45,6 @@ UNMAP_AFTER_INIT void CommandLine::initialize()
|
||||||
dmesgln("Kernel Commandline: {}", kernel_command_line().string());
|
dmesgln("Kernel Commandline: {}", kernel_command_line().string());
|
||||||
// Validate the modes the user passed in.
|
// Validate the modes the user passed in.
|
||||||
(void)s_the->panic_mode(Validate::Yes);
|
(void)s_the->panic_mode(Validate::Yes);
|
||||||
if (s_the->contains("boot_mode"sv)) {
|
|
||||||
// I know, we don't do legacy, but even though I eliminated 'boot_mode' from the codebase, there
|
|
||||||
// is a good chance that someone's still using it. Let's be nice and tell them where to look.
|
|
||||||
// TODO: Remove this in 2022.
|
|
||||||
PANIC("'boot_mode' is now split into panic=[halt|shutdown], graphics_subsystem_mode=[on|limited|off], and system_mode=[graphical|text|selftest].");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UNMAP_AFTER_INIT NonnullOwnPtr<KString> CommandLine::build_commandline(StringView cmdline_from_bootloader)
|
UNMAP_AFTER_INIT NonnullOwnPtr<KString> CommandLine::build_commandline(StringView cmdline_from_bootloader)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue