source:
rtems/cpukit/sapi/src/fatal.c
@
f26145b
Last change on this file since f26145b was 16351f7a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/28/05 at 02:04:21 | |
---|---|
|
|
File size: 810 bytes |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* |
2 | * Fatal Error Manager | |
3 | * | |
[08311cc3] | 4 | * COPYRIGHT (c) 1989-1999. |
[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 | * $Id$ | |
12 | */ | |
13 | ||
[16351f7a] | 14 | #if HAVE_CONFIG_H |
15 | #include "config.h" | |
16 | #endif | |
17 | ||
[ac7d5ef0] | 18 | #include <rtems/system.h> |
19 | #include <rtems/fatal.h> | |
[5e9b32b] | 20 | #include <rtems/score/interr.h> |
[ac7d5ef0] | 21 | |
22 | /*PAGE | |
23 | * | |
24 | * rtems_fatal_error_occurred | |
25 | * | |
[3a4ae6c] | 26 | * This directive will invoke the internal fatal error handler. |
[ac7d5ef0] | 27 | * |
28 | * Input parameters: | |
29 | * the_error - fatal error status code | |
30 | * | |
[3a4ae6c] | 31 | * Output parameters: NONE |
[ac7d5ef0] | 32 | */ |
33 | ||
[d0bb8f3] | 34 | void rtems_fatal_error_occurred( |
[8bd41178] | 35 | uint32_t the_error |
[ac7d5ef0] | 36 | ) |
37 | { | |
[3a4ae6c] | 38 | _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error ); |
[ac7d5ef0] | 39 | |
40 | /* will not return from this routine */ | |
41 | } |
Note: See TracBrowser
for help on using the repository browser.