From e2c0055e2393926a0c7424eb3df11fd7501b54f6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 09:46:10 +0000 Subject: 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. --- src/include/gpxe/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/gpxe/image.h') 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 ); -- cgit v1.2.3-55-g7522