summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_exit.c
blob: c7ba6c2b87ff8dcb48bcb052c9398a650e13adc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @file
 * @ingroup sparc_bsp
 * @brief ERC32/LEON2/LEON3 BSP specific exit handler.
 *
 *  COPYRIGHT (c) 2014.
 *  Aeroflex Gaisler AB.
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#include <rtems.h>

void BSP_fatal_exit(uint32_t error)
{
  sparc_syscall_exit(RTEMS_FATAL_SOURCE_BSP, error);
}