abort.c 288 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
 */

Dan Handley's avatar
Dan Handley committed
7
#include <debug.h>
8
#include <stdlib.h>
9
10
11
12
13
14

/*
 * This is a basic implementation. This could be improved.
 */
void abort (void)
{
Dan Handley's avatar
Dan Handley committed
15
16
	ERROR("ABORT\n");
	panic();
17
}