13 for (
const mos_init_t *init = __MOS_INIT_START; init < __MOS_INIT_END; init++)
15 if (init->target == target)
28 pr_dinfo2(setup,
"no option given for '%s'", func->param);
34 pr_warn(
"option '%s' already used", func->param);
38 pr_dinfo2(setup,
"invoking setup function for '%s'", func->param);
41 pr_warn(
"setup function for '%s' failed", func->param);
cmdline_option_t * cmdline_get_option(const char *option_name)
#define pr_dinfo2(feat, fmt,...)
static void do_invoke_setup(const mos_cmdline_hook_t start[], const mos_cmdline_hook_t end[])
void startup_invoke_early_cmdline_hooks(void)
void startup_invoke_cmdline_hooks(void)
void startup_invoke_autoinit(init_target_t target)