summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 08:32:46 +0100
committerMichael Brown2007-01-12 08:32:46 +0100
commit2876197306df09f003024784feb197d7ef14b0f8 (patch)
treec2e1aad526a44e59d6cf35be6535c23b07ebb74e /src/include/usr
parentCleaner separation between imgXXX() functions and image_cmd.c (diff)
downloadipxe-2876197306df09f003024784feb197d7ef14b0f8.tar.gz
ipxe-2876197306df09f003024784feb197d7ef14b0f8.tar.xz
ipxe-2876197306df09f003024784feb197d7ef14b0f8.zip
Allow "imgexec" with no arguments to boot the file that was loaded with
"kernel".
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/imgmgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 86a65da5..f0484106 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -11,6 +11,7 @@ extern int imgfetch ( const char *filename, const char *name,
struct image **new_image );
extern int imgload ( struct image *image );
extern int imgexec ( struct image *image );
+extern struct image * imgautoselect ( void );
extern void imgstat ( struct image *image );
extern void imgfree ( struct image *image );