forked from Imagelibrary/rtems
bsps: Move startup files to bsps
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
This commit is contained in:
22
bsps/sparc/shared/start/bsp_fatal_exit.c
Normal file
22
bsps/sparc/shared/start/bsp_fatal_exit.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* @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 <bsp.h>
|
||||
#include <rtems/score/cpu.h>
|
||||
|
||||
void BSP_fatal_exit(uint32_t error)
|
||||
{
|
||||
sparc_syscall_exit(RTEMS_FATAL_SOURCE_BSP, error);
|
||||
}
|
||||
Reference in New Issue
Block a user