diff options
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r-- | Kernel/CommandLine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index 1d68751762..e87565c32d 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -27,6 +27,11 @@ UNMAP_AFTER_INIT void CommandLine::early_initialize(const char* cmd_line) s_cmd_line[length] = '\0'; } +bool CommandLine::was_initialized() +{ + return s_the != nullptr; +} + const CommandLine& kernel_command_line() { VERIFY(s_the); |