summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/shared/start/bsp_fatal_exit.c
blob: 2ad11846e5e97cf291d9532cbe49361fb4b168c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file
 * @ingroup RTEMSBSPsSPARCShared
 * @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 <bsp.h>
#include <rtems/score/cpu.h>

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