[image] Add "--autofree" option

Allow images to be automatically freed after execution completes
(successfully or otherwise).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-07-20 10:37:24 +01:00
parent 23b70323c7
commit d3c660b671
4 changed files with 38 additions and 14 deletions

View File

@@ -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 */