MOS Source Code
Loading...
Searching...
No Matches
cmdline.hpp File Reference
#include <mos/string_view.hpp>
#include <mos/types.hpp>
Include dependency graph for cmdline.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmdline_option_t

Functions

void mos_cmdline_init (const char *bootloader_cmdline)
cmdline_option_tcmdline_get_option (const char *option_name)
bool cmdline_string_truthiness (mos::string_view arg, bool default_value)

Function Documentation

◆ mos_cmdline_init()

void mos_cmdline_init ( const char * bootloader_cmdline)

Definition at line 33 of file cmdline.cpp.

Referenced by limine_entry().

Here is the call graph for this function:

◆ cmdline_get_option()

cmdline_option_t * cmdline_get_option ( const char * option_name)

Definition at line 21 of file cmdline.cpp.

Referenced by do_invoke_setup().

Here is the call graph for this function:

◆ cmdline_string_truthiness()

bool cmdline_string_truthiness ( mos::string_view arg,
bool default_value )

Definition at line 83 of file cmdline.cpp.

Referenced by MOS_EARLY_SETUP(), MOS_EARLY_SETUP(), and mos_tests_setup_halt_on_success().

Here is the call graph for this function: