summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 08:04:08 +0100
committerMichael Brown2006-12-20 08:04:08 +0100
commit84202d89f0fa83790a4d3f78119f1fb62c1b3d9b (patch)
tree066eba0ee9db7e82922e662e7d6e5c29ac59d021 /src/include
parentExplicitly call erase(), to cope with platforms where the ANSI clear (diff)
downloadipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.tar.gz
ipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.tar.xz
ipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.zip
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/autoboot.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gpxe/autoboot.h b/src/include/gpxe/autoboot.h
new file mode 100644
index 000000000..bea2e4b3a
--- /dev/null
+++ b/src/include/gpxe/autoboot.h
@@ -0,0 +1,12 @@
+#ifndef _GPXE_AUTOBOOT_H
+#define _GPXE_AUTOBOOT_H
+
+/** @file
+ *
+ * Automatic booting
+ *
+ */
+
+extern void autoboot ( void );
+
+#endif /* _GPXE_AUTOBOOT_H */