summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 10:46:10 +0100
committerMichael Brown2007-01-12 10:46:10 +0100
commite2c0055e2393926a0c7424eb3df11fd7501b54f6 (patch)
treeaca53cf0cda11a87bc447562988207bc8fd05023 /src/include/gpxe
parentAdded dhcp() user-level command. (diff)
downloadipxe-e2c0055e2393926a0c7424eb3df11fd7501b54f6.tar.gz
ipxe-e2c0055e2393926a0c7424eb3df11fd7501b54f6.tar.xz
ipxe-e2c0055e2393926a0c7424eb3df11fd7501b54f6.zip
Let ifmgmt.c take care of calling efree(), since it's the once which
took out the contract to eventually call efree() when it called fetch(). Maintain the most recently loaded image at the start of the list, so that imgautoselect() will pick it.
Diffstat (limited to 'src/include/gpxe')
-rw-r--r--src/include/gpxe/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h
index e00771fff..de10c369e 100644
--- a/src/include/gpxe/image.h
+++ b/src/include/gpxe/image.h
@@ -107,8 +107,8 @@ extern struct list_head images;
extern int register_image ( struct image *image );
extern void unregister_image ( struct image *image );
+extern void promote_image ( struct image *image );
struct image * find_image ( const char *name );
-extern void free_image ( struct image *image );
extern int image_load ( struct image *image );
extern int image_autoload ( struct image *image );
extern int image_exec ( struct image *image );