summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2011-01-27 21:35:48 +0100
committerMichael Brown2011-01-27 21:40:26 +0100
commit962cada830e9b0ce7049a59bef4c33ab01c6161e (patch)
tree057160b6a5f46e3e099166102f3a91b393d35103 /src/image
parent[xfer] Expose xfer_uri_opener() (diff)
downloadipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.tar.gz
ipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.tar.xz
ipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.zip
[init] Remove concept of "shutdown exit flags"
Remove the concept of shutdown exit flags, and replace it with a counter used to keep track of exposed interfaces that require devices to remain active. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/efi_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/efi_image.c b/src/image/efi_image.c
index 6b6600de..bf2e6f4a 100644
--- a/src/image/efi_image.c
+++ b/src/image/efi_image.c
@@ -39,7 +39,7 @@ static EFI_EVENT efi_shutdown_event;
*/
static EFIAPI void efi_shutdown_hook ( EFI_EVENT event __unused,
void *context __unused ) {
- shutdown ( SHUTDOWN_BOOT );
+ shutdown_boot();
}
/**