summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/image.h
diff options
context:
space:
mode:
authorMichael Brown2011-03-09 14:38:56 +0100
committerMichael Brown2011-03-09 14:38:56 +0100
commitae92700fd4594afc50f057ccb07690567327e508 (patch)
treed7e588d813e7f50211350408cbc801d806878c6f /src/include/ipxe/image.h
parent[image] Move the register_and_{select|boot}_image() functions to imgmgmt.c (diff)
downloadipxe-ae92700fd4594afc50f057ccb07690567327e508.tar.gz
ipxe-ae92700fd4594afc50f057ccb07690567327e508.tar.xz
ipxe-ae92700fd4594afc50f057ccb07690567327e508.zip
[image] Generalise "currently-running script" to "currently-running image"
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/image.h')
-rw-r--r--src/include/ipxe/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/image.h b/src/include/ipxe/image.h
index 539f8ca39..328444138 100644
--- a/src/include/ipxe/image.h
+++ b/src/include/ipxe/image.h
@@ -110,6 +110,7 @@ struct image_type {
#define __image_type( probe_order ) __table_entry ( IMAGE_TYPES, probe_order )
extern struct list_head images;
+extern struct image *current_image;
/** Iterate over all registered images */
#define for_each_image( image ) \