gnu-efi/lib/exit.c

20 lines
342 B
C
Raw Normal View History

#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 (;;) { }
}