X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.h;h=b4372ee7fcab02ab8be7239b2d0dac017322d723;hp=63d1a92d2374166cfb51ffbfa64f5a487adb3869;hb=b8122dc9340e2f208220f0c88b4d71f91b78774f;hpb=59e81c46a962da51e51474e9b36258ff0e04ae42 diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index 63d1a92..b4372ee 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -19,19 +19,16 @@ #if !defined(_PB_UI_SYSTEM_H) #define _PB_UI_SYSTEM_H -#include "pb-protocol/pb-protocol.h" +#include + #include "system/system.h" +#include "types/types.h" #include "ui/common/timer.h" +#include "ui/common/discover-client.h" #include -struct pb_kexec_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); @@ -45,7 +42,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;