From 031e5cce385d3f96b1caa1d53495332a7eb03749 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Tue, 23 Mar 2021 23:49:46 +0000 Subject: New upstream version 15.3 --- gnu-efi/lib/exit.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gnu-efi/lib/exit.c (limited to 'gnu-efi/lib/exit.c') diff --git a/gnu-efi/lib/exit.c b/gnu-efi/lib/exit.c new file mode 100644 index 00000000..ada27c94 --- /dev/null +++ b/gnu-efi/lib/exit.c @@ -0,0 +1,19 @@ +#include "lib.h" + +VOID +Exit( + IN EFI_STATUS ExitStatus, + IN UINTN ExitDataSize, + IN CHAR16 *ExitData OPTIONAL + ) +{ + uefi_call_wrapper(BS->Exit, + 4, + LibImageHandle, + ExitStatus, + ExitDataSize, + ExitData); + + // Uh oh, Exit() returned?! + for (;;) { } +} -- cgit v1.2.3