summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-21 14:16:35 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 12:52:50 +0800
commit2723662cabd4d34d4155ab5d6668c591a20a086b (patch)
tree66b5fe222d9dd30d7713923b6693b842b4d56d0d /discover/device-handler.h
parent4a78c9a5327cad94a2c23b9bff8edcd77fb54fa9 (diff)
downloadtalos-petitboot-2723662cabd4d34d4155ab5d6668c591a20a086b.tar.gz
talos-petitboot-2723662cabd4d34d4155ab5d6668c591a20a086b.zip
discover: Add "cancel default boot" messages
Allow the default boot process to be cancelled, via a message with action PB_PROTOCOL_ACTION_CANCEL_DEFAULT. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index 7182f00..60a33b7 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -90,5 +90,6 @@ struct discover_device *device_lookup_by_id(struct device_handler *handler,
void device_handler_boot(struct device_handler *handler,
struct boot_command *cmd);
+void device_handler_cancel_default(struct device_handler *handler);
#endif /* _DEVICE_HANDLER_H */
OpenPOWER on IntegriCloud