4.115
Last change
on this file since 9bd7b3b1 was
ce4a7ae,
checked in by Daniel Hellstrom <daniel@…>, on 05/19/14 at 15:27:55
|
SPARC: add BSP specific error handler
Instead of calling the system call TA instruction directly it
is better paractise to isolate the trap implementation to the
system call functions.
BSP_fatal_exit() is added.
|
-
Property mode set to
100644
|
File size:
422 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup sparc_bsp |
---|
4 | * @brief ERC32/LEON2/LEON3 BSP specific exit handler. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 2014. |
---|
7 | * Aeroflex Gaisler AB. |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.org/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #include <rtems.h> |
---|
15 | |
---|
16 | void BSP_fatal_exit(uint32_t error) |
---|
17 | { |
---|
18 | sparc_syscall_exit(RTEMS_FATAL_SOURCE_BSP, error); |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.