summaryrefslogtreecommitdiffstats
path: root/src/core/image.c
diff options
context:
space:
mode:
authorMichael Brown2007-06-09 20:00:34 +0200
committerMichael Brown2007-06-09 20:00:34 +0200
commitb256900d4f6fe187cb93ed91bbf12c723e6b9364 (patch)
treef1fb4b41383c157e48e37d7f3d9b55ea3ee042ee /src/core/image.c
parentAllow xfer_open() to take a struct uri as well as a URI string. (diff)
downloadipxe-b256900d4f6fe187cb93ed91bbf12c723e6b9364.tar.gz
ipxe-b256900d4f6fe187cb93ed91bbf12c723e6b9364.tar.xz
ipxe-b256900d4f6fe187cb93ed91bbf12c723e6b9364.zip
Scripts temporarily deregister themselves while executing. This
allows us to avoid execution loops without having to hack around the image registration order.
Diffstat (limited to 'src/core/image.c')
-rw-r--r--src/core/image.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/image.c b/src/core/image.c
index e270540a..08a129ff 100644
--- a/src/core/image.c
+++ b/src/core/image.c
@@ -107,20 +107,6 @@ void unregister_image ( struct image *image ) {
}
/**
- * Move image to start of list of registered images
- *
- * @v image Executable/loadable image
- *
- * Move the image to the start of the image list. This makes it
- * easier to keep track of which of the images marked as loaded is
- * likely to still be valid.
- */
-void promote_image ( struct image *image ) {
- list_del ( &image->list );
- list_add ( &image->list, &images );
-}
-
-/**
* Find image by name
*
* @v name Image name