summaryrefslogtreecommitdiffstats
path: root/petitboot.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-04-02 10:31:10 +1000
committerJeremy Kerr <jk@ozlabs.org>2007-04-02 10:31:10 +1000
commitf60d0b2e7dbd9d85980866c68d0f87b6bc823663 (patch)
treee41787450d6ef61296ec33b0743275716bba5a95 /petitboot.h
downloadtalos-petitboot-f60d0b2e7dbd9d85980866c68d0f87b6bc823663.tar.gz
talos-petitboot-f60d0b2e7dbd9d85980866c68d0f87b6bc823663.zip
Initial gitification of petitboot
Start a git repo for petitboot, sources from Ben Herrenschmidt and Jeremy Kerr. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'petitboot.h')
-rw-r--r--petitboot.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/petitboot.h b/petitboot.h
new file mode 100644
index 0000000..aeac73b
--- /dev/null
+++ b/petitboot.h
@@ -0,0 +1,15 @@
+
+#include <libtwin/twin.h>
+
+#define LOG(fmt...) printf(fmt)
+
+#define PBOOT_MAX_DEV 16
+#define PBOOT_MAX_OPTION 16
+
+int pboot_add_device(const char *dev_id, const char *name,
+ twin_pixmap_t *pixmap);
+int pboot_add_option(int devindex, const char *title,
+ const char *subtitle, twin_pixmap_t *badge);
+int pboot_remove_device(const char *dev_id);
+
+int pboot_start_device_discovery(void);
OpenPOWER on IntegriCloud