aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-03-09 13:38:56 +0000
committerMichael Brown <mcb30@ipxe.org>2011-03-09 13:38:56 +0000
commitae92700fd4594afc50f057ccb07690567327e508 (patch)
treed7e588d813e7f50211350408cbc801d806878c6f /src/include
parentd17a84a056a412f10a85985dc2c43b6fbedd0abd (diff)
downloadipxe-ae92700fd4594afc50f057ccb07690567327e508.tar.gz
[image] Generalise "currently-running script" to "currently-running image"
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-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 ) \