X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.h;h=bf4f4e9e115a8de9efdcbf567306275f41cba776;hp=b75c4d1bfecbe45ff766354a912af37714479305;hb=c25601a71b0951225691aa2edc389826f7f3836c;hpb=ee86a0bd989511319adf3467b41b5b2e1f486aa6 diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index b75c4d1..bf4f4e9 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -27,13 +27,13 @@ #include -struct pb_kexec_data { +struct pb_boot_data { char *image; char *initrd; char *args; }; -int pb_run_kexec(const struct pb_kexec_data *kd, int dry_run); +int pb_boot(const struct pb_boot_data *bd, int dry_run); int pb_start_daemon(void); unsigned int pb_elf_hash(const char *str); @@ -47,7 +47,7 @@ static inline uint32_t pb_opt_hash(const struct device *dev, struct pb_opt_data { const char *name; - struct pb_kexec_data *kd; + struct pb_boot_data *bd; /* optional data */ const struct device *dev;