1 /* $NetBSD: exit.c,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $ */ 2 3 #include "lib.h" 4 5 VOID Exit(IN EFI_STATUS ExitStatus,IN UINTN ExitDataSize,IN CHAR16 * ExitData OPTIONAL)6Exit( 7 IN EFI_STATUS ExitStatus, 8 IN UINTN ExitDataSize, 9 IN CHAR16 *ExitData OPTIONAL 10 ) 11 { 12 uefi_call_wrapper(BS->Exit, 13 4, 14 LibImageHandle, 15 ExitStatus, 16 ExitDataSize, 17 ExitData); 18 19 // Uh oh, Exit() returned?! 20 for (;;) { } 21 } 22