blob: 39f30d12c72d26e3b08a9f881d84151260a1832a [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <debug.h>
8
9/*
10 * This is a basic implementation. This could be improved.
11 */
12void __assert (const char *function, const char *file, unsigned int line,
13 const char *assertion)
14{
15 mp_printf("ASSERT: %s <%d> : %s\n", function, line, assertion);
16 while (1);
17}