1 /*
2 * Arm SCP/MCP Software
3 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8 #include <assert.h>
9
10 #if defined(__ARMCC_VERSION)
__aeabi_assert(const char * expr,const char * file,int line)11 void __aeabi_assert(const char *expr, const char *file, int line)
12 {
13 while (1) {
14 continue;
15 }
16 }
17 #elif defined(__NEWLIB__)
__assert_func(const char * file,int line,const char * function,const char * assertion)18 void __assert_func(
19 const char *file,
20 int line,
21 const char *function,
22 const char *assertion)
23 {
24 while (1) {
25 continue;
26 }
27 }
28 #endif
29