1 #include "lib.h" 2 3 VOID 4 Exit( 5 IN EFI_STATUS ExitStatus, 6 IN UINTN ExitDataSize, 7 IN CHAR16 *ExitData OPTIONAL 8 ) 9 { 10 uefi_call_wrapper(BS->Exit, 11 4, 12 LibImageHandle, 13 ExitStatus, 14 ExitDataSize, 15 ExitData); 16 17 // Uh oh, Exit() returned?! 18 for (;;) { } 19 } 20