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