path: root/discover/device-handler.h
diff options
authorJeremy Kerr <>2013-03-06 17:14:58 +0800
committerJeremy Kerr <>2013-04-15 15:42:27 +0800
commitb8122dc9340e2f208220f0c88b4d71f91b78774f (patch)
tree9eaf0ab4357ef2153ec62b7cda241356037188e2 /discover/device-handler.h
parentceefe00bf8c1498dfc2118d2b3666f67f91bb956 (diff)
discover: Implement device handler boot path
This change adds a funtion, device_handler_boot, which processes the boot command message from the discover server. We add a new file, discover/boot.c (and a corresponding header) with a skeleton for the final kexec code. Signed-off-by: Jeremy Kerr <>
Diffstat (limited to 'discover/device-handler.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index 796b328..7207f8d 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -5,6 +5,7 @@
struct device_handler;
struct discover_server;
+struct boot_command;
struct event;
struct device;
@@ -30,4 +31,7 @@ const struct device *device_handler_get_device(
int device_handler_event(struct device_handler *handler, struct event *event);
+void device_handler_boot(struct device_handler *handler,
+ struct boot_command *cmd);
#endif /* _DEVICE_HANDLER_H */
OpenPOWER on IntegriCloud