diff options
Diffstat (limited to 'lib/libc/abort.c')
-rw-r--r-- | lib/libc/abort.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/abort.c b/lib/libc/abort.c new file mode 100644 index 00000000..65ce4cca --- /dev/null +++ b/lib/libc/abort.c @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <debug.h> +#include <stdlib.h> + +/* + * This is a basic implementation. This could be improved. + */ +void abort (void) +{ + ERROR("ABORT\n"); + panic(); +} |