summaryrefslogtreecommitdiff
path: root/sys/external/bsd/gnu-efi/dist/lib/exit.c
blob: 4d12e7550b75502b98346cb504fc23dd20403968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*	$NetBSD: exit.c,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $	*/

#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 (;;) { }
}
>2002-11-22Fix typo.thorpej 2002-11-22Split crtbegin/crtend into crti/crtbegin/crtend/crtn. NetBSD-specificthorpej 2002-01-14Build and install crtfm.o (sets the Alpha FP_C in a way that GCC'sthorpej 2002-01-14* Use the new ALPHA_SET_FP_C sysarch call.thorpej 2002-01-13Support for the GCC "-ffast-math" option on the Alpha.thorpej 2001-07-17Enable the new (working) .init/.fini magic.thorpej 2001-05-11Reorganization of crtbegin/crtend.ross 2000-07-26The ELF ABI declares that argc must fill an `argument slot'. Make it so.mycroft 2000-07-26Always dereference argc as an int.mycroft 2000-06-14sweep of my licenses (userland files w/o only my copyright) forcgd 2000-06-14fix up NetBSD RCS Ids to match the standard, and the leading comment ascgd