aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/image.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-07-20 10:37:24 +0100
committerMichael Brown <mcb30@ipxe.org>2012-07-20 12:44:40 +0100
commitd3c660b6718c8d85b34d5c7ca8c4ed12659e1cc7 (patch)
treec2c20f097fc46b59a02a903186fc1f9c30fa89cc /src/include/ipxe/image.h
parent23b70323c7d91b941344df6a27ddd035d0fea934 (diff)
downloadipxe-d3c660b6718c8d85b34d5c7ca8c4ed12659e1cc7.tar.gz
[image] Add "--autofree" option
Allow images to be automatically freed after execution completes (successfully or otherwise). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/image.h')
-rw-r--r--src/include/ipxe/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/image.h b/src/include/ipxe/image.h
index ac97137bd..6022dce66 100644
--- a/src/include/ipxe/image.h
+++ b/src/include/ipxe/image.h
@@ -67,6 +67,9 @@ struct image {
/** Image is trusted */
#define IMAGE_TRUSTED 0x0004
+/** Image will be automatically unregistered after execution */
+#define IMAGE_AUTO_UNREGISTER 0x0008
+
/** An executable image type */
struct image_type {
/** Name of this image type */