source: rtems/cpukit/sapi/src/fatal.c @ 83bf105

4.11
Last change on this file since 83bf105 was 83bf105, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 19, 2014 at 9:57:46 AM

score: Rename _Internal_error_Occurred()

Rename _Internal_error_Occurred() into _Terminate().

  • Property mode set to 100644
File size: 748 bytes
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
29void rtems_fatal_error_occurred(
30  uint32_t   the_error
31)
32{
33  _Terminate( 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.