mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Ensure that CommandLine is initialized before choosing PanicMode
If the kernel commandline is not initialized, just halt everything.
This commit is contained in:
parent
0adee378fd
commit
d67c70d043
3 changed files with 8 additions and 0 deletions
|
@ -45,6 +45,7 @@ class CommandLine {
|
|||
public:
|
||||
static void early_initialize(const char* cmd_line);
|
||||
static void initialize();
|
||||
static bool was_initialized();
|
||||
|
||||
enum class Validate {
|
||||
Yes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue