summaryrefslogtreecommitdiff
path: root/lib/stdlib/abort.c
blob: 65ce4ccaf2c6de26c72a6b78841e2503b884ca64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
}