summaryrefslogtreecommitdiffstats
path: root/lib/pb-protocol
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 /lib/pb-protocol
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 'lib/pb-protocol')
-rw-r--r--lib/pb-protocol/pb-protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pb-protocol/pb-protocol.h b/lib/pb-protocol/pb-protocol.h
index 0390f66..aa79e66 100644
--- a/lib/pb-protocol/pb-protocol.h
+++ b/lib/pb-protocol/pb-protocol.h
@@ -18,6 +18,7 @@ enum pb_protocol_action {
/* PB_PROTOCOL_ACTION_BOOT_OPTION_REMOVE = 0x4, */
PB_PROTOCOL_ACTION_BOOT = 0x5,
PB_PROTOCOL_ACTION_STATUS = 0x6,
+ PB_PROTOCOL_ACTION_CANCEL_DEFAULT = 0x7,
};
struct pb_protocol_message {
OpenPOWER on IntegriCloud