MOS Source Code
Loading...
Searching...
No Matches
cmdline.cpp File Reference
+ Include dependency graph for cmdline.cpp:

Go to the source code of this file.

Functions

static bool cmdline_is_truthy (const char *arg)
 
static bool cmdline_is_falsy (const char *arg)
 
cmdline_option_tcmdline_get_option (const char *option_name)
 
void mos_cmdline_init (const char *cmdline)
 
bool cmdline_string_truthiness (const char *arg, bool default_value)
 

Function Documentation

◆ cmdline_is_truthy()

static bool cmdline_is_truthy ( const char * arg)
static

Definition at line 11 of file cmdline.cpp.

Referenced by cmdline_string_truthiness().

+ Here is the call graph for this function:

◆ cmdline_is_falsy()

static bool cmdline_is_falsy ( const char * arg)
static

Definition at line 16 of file cmdline.cpp.

Referenced by cmdline_string_truthiness().

+ 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:

◆ mos_cmdline_init()

void mos_cmdline_init ( const char * cmdline)

Definition at line 33 of file cmdline.cpp.

Referenced by limine_entry().

+ Here is the call graph for this function:

◆ cmdline_string_truthiness()

bool cmdline_string_truthiness ( const char * 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: