summaryrefslogtreecommitdiffstats
path: root/discover/boot.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-03-06 17:14:58 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-15 15:42:27 +0800
commitb8122dc9340e2f208220f0c88b4d71f91b78774f (patch)
tree9eaf0ab4357ef2153ec62b7cda241356037188e2 /discover/boot.h
parentceefe00bf8c1498dfc2118d2b3666f67f91bb956 (diff)
downloadtalos-petitboot-b8122dc9340e2f208220f0c88b4d71f91b78774f.tar.gz
talos-petitboot-b8122dc9340e2f208220f0c88b4d71f91b78774f.zip
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 <jk@ozlabs.org>
Diffstat (limited to 'discover/boot.h')
-rw-r--r--discover/boot.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/discover/boot.h b/discover/boot.h
new file mode 100644
index 0000000..be2ca57
--- /dev/null
+++ b/discover/boot.h
@@ -0,0 +1,10 @@
+#ifndef _BOOT_H
+#define _BOOT_H
+
+struct boot_option;
+struct boot_command;
+
+int boot(void *ctx, struct boot_option *opt, struct boot_command *cmd,
+ int dry_run);
+
+#endif /* _BOOT_H */
OpenPOWER on IntegriCloud