Add an initial definition for boot status messages sent to clients
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
PB_PROTOCOL_ACTION_DEVICE_REMOVE = 0x3,
/* PB_PROTOCOL_ACTION_BOOT_OPTION_REMOVE = 0x4, */
PB_PROTOCOL_ACTION_BOOT = 0x5,
PB_PROTOCOL_ACTION_DEVICE_REMOVE = 0x3,
/* PB_PROTOCOL_ACTION_BOOT_OPTION_REMOVE = 0x4, */
PB_PROTOCOL_ACTION_BOOT = 0x5,
+ PB_PROTOCOL_ACTION_STATUS = 0x6,
};
struct pb_protocol_message {
};
struct pb_protocol_message {
+struct boot_status {
+ enum {
+ BOOT_STATUS_INFO,
+ BOOT_STATUS_ERROR,
+ } type;
+ char *message;
+ char *detail;
+ int progress;
+};
+