Harry Liebel | 0f702c6 | 2013-12-17 18:19:04 +0000 | [diff] [blame] | 1 | /* |
Roberto Vargas | 0571270 | 2018-02-12 12:36:17 +0000 | [diff] [blame] | 2 | * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. |
Harry Liebel | 0f702c6 | 2013-12-17 18:19:04 +0000 | [diff] [blame] | 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Harry Liebel | 0f702c6 | 2013-12-17 18:19:04 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
Dan Handley | 91b624e | 2014-07-29 17:14:00 +0100 | [diff] [blame] | 7 | #include <debug.h> |
Roberto Vargas | 0571270 | 2018-02-12 12:36:17 +0000 | [diff] [blame] | 8 | #include <stdlib.h> |
Harry Liebel | 0f702c6 | 2013-12-17 18:19:04 +0000 | [diff] [blame] | 9 | |
10 | /* | ||||
11 | * This is a basic implementation. This could be improved. | ||||
12 | */ | ||||
13 | void abort (void) | ||||
14 | { | ||||
Dan Handley | 91b624e | 2014-07-29 17:14:00 +0100 | [diff] [blame] | 15 | ERROR("ABORT\n"); |
16 | panic(); | ||||
Harry Liebel | 0f702c6 | 2013-12-17 18:19:04 +0000 | [diff] [blame] | 17 | } |