summaryrefslogtreecommitdiff
path: root/gnu-efi/apps/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/apps/exit.c')
-rw-r--r--gnu-efi/apps/exit.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu-efi/apps/exit.c b/gnu-efi/apps/exit.c
new file mode 100644
index 00000000..78b94a57
--- /dev/null
+++ b/gnu-efi/apps/exit.c
@@ -0,0 +1,12 @@
+#include <efi.h>
+#include <efilib.h>
+
+EFI_STATUS
+efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab)
+{
+ InitializeLib(image_handle, systab);
+
+ Exit(EFI_SUCCESS, 0, NULL);
+
+ return EFI_UNSUPPORTED;
+}