source:
rtems/cpukit/sapi/src/fatal.c
@
9b4422a2
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24 | |
---|---|
|
|
File size: 791 bytes |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* |
2 | * Fatal Error Manager | |
3 | * | |
[fd3a990] | 4 | * COPYRIGHT (c) 1989-2009. |
[ac7d5ef0] | 5 | * On-Line Applications Research Corporation (OAR). |
6 | * | |
[98e4ebf5] | 7 | * The license and distribution terms for this file may be |
8 | * found in the file LICENSE in this distribution or at | |
[2ba508b] | 9 | * http://www.rtems.com/license/LICENSE. |
[ac7d5ef0] | 10 | */ |
11 | ||
[16351f7a] | 12 | #if HAVE_CONFIG_H |
13 | #include "config.h" | |
14 | #endif | |
15 | ||
[ac7d5ef0] | 16 | #include <rtems/system.h> |
17 | #include <rtems/fatal.h> | |
[5e9b32b] | 18 | #include <rtems/score/interr.h> |
[ac7d5ef0] | 19 | |
[fd3a990] | 20 | /* |
[ac7d5ef0] | 21 | * rtems_fatal_error_occurred |
22 | * | |
[3a4ae6c] | 23 | * This directive will invoke the internal fatal error handler. |
[ac7d5ef0] | 24 | * |
25 | * Input parameters: | |
26 | * the_error - fatal error status code | |
27 | * | |
[3a4ae6c] | 28 | * Output parameters: NONE |
[ac7d5ef0] | 29 | */ |
30 | ||
[d0bb8f3] | 31 | void rtems_fatal_error_occurred( |
[8bd41178] | 32 | uint32_t the_error |
[ac7d5ef0] | 33 | ) |
34 | { | |
[3a4ae6c] | 35 | _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error ); |
[ac7d5ef0] | 36 | |
37 | /* will not return from this routine */ | |
38 | } |
Note: See TracBrowser
for help on using the repository browser.