{
if (!list_empty(&uc_mgr->verb_list))
return 0;
- if (!list_empty(&uc_mgr->once_list))
+ if (!list_empty(&uc_mgr->boot_list))
return 0;
return -ENXIO;
}
if (mgr == NULL)
return -ENOMEM;
INIT_LIST_HEAD(&mgr->verb_list);
- INIT_LIST_HEAD(&mgr->once_list);
+ INIT_LIST_HEAD(&mgr->boot_list);
INIT_LIST_HEAD(&mgr->default_list);
INIT_LIST_HEAD(&mgr->value_list);
INIT_LIST_HEAD(&mgr->active_modifiers);
uc_error("error: wrong value for _boot (%s)", value);
return -EINVAL;
}
- err = execute_sequence(uc_mgr, &uc_mgr->once_list,
+ err = execute_sequence(uc_mgr, &uc_mgr->boot_list,
&uc_mgr->value_list, NULL, NULL);
if (err < 0) {
- uc_error("Unable to execute once sequence");
+ uc_error("Unable to execute boot sequence");
return err;
}
return err;
{
int err;
- if (!list_empty(&uc_mgr->once_list)) {
- uc_error("Once list is not empty");
+ if (!list_empty(&uc_mgr->boot_list)) {
+ uc_error("Boot list is not empty");
return -EINVAL;
}
- err = parse_sequence(uc_mgr, &uc_mgr->once_list, cfg);
+ err = parse_sequence(uc_mgr, &uc_mgr->boot_list, cfg);
if (err < 0) {
uc_error("Unable to parse BootSequence");
return err;
struct list_head verb_list;
/* boot settings - sequence */
- struct list_head once_list;
+ struct list_head boot_list;
/* default settings - sequence */
struct list_head default_list;
list_del(&verb->list);
free(verb);
}
- uc_mgr_free_sequence(&uc_mgr->once_list);
+ uc_mgr_free_sequence(&uc_mgr->boot_list);
uc_mgr_free_sequence(&uc_mgr->default_list);
uc_mgr_free_value(&uc_mgr->value_list);
uc_mgr_free_value(&uc_mgr->variable_list);