4.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Invokes the internal error handler with a source of |
---|
5 | * INTERNAL_ERROR_RTEMS_API and is internal set to false. |
---|
6 | * |
---|
7 | * @ingroup ClassicFatal |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * Fatal Error Manager |
---|
12 | * |
---|
13 | * COPYRIGHT (c) 1989-2009. |
---|
14 | * On-Line Applications Research Corporation (OAR). |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.com/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | #if HAVE_CONFIG_H |
---|
22 | #include "config.h" |
---|
23 | #endif |
---|
24 | |
---|
25 | #include <rtems/system.h> |
---|
26 | #include <rtems/fatal.h> |
---|
27 | #include <rtems/score/interr.h> |
---|
28 | |
---|
29 | void rtems_fatal_error_occurred( |
---|
30 | uint32_t the_error |
---|
31 | ) |
---|
32 | { |
---|
33 | _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error ); |
---|
34 | |
---|
35 | /* will not return from this routine */ |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.