source: rtems/cpukit/sapi/src/fatal.c

Last change on this file was 3fe2155, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 1, 2019 at 9:00:36 AM

Remove superfluous <rtems/system.h> includes

  • Property mode set to 100644
File size: 715 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.org/license/LICENSE.
19 */
20
21#if HAVE_CONFIG_H
22#include "config.h"
23#endif
24
25#include <rtems/fatal.h>
26#include <rtems/score/interr.h>
27
28void rtems_fatal_error_occurred(
29  uint32_t   the_error
30)
31{
32  _Terminate( INTERNAL_ERROR_RTEMS_API, the_error );
33
34/* will not return from this routine */
35}
Note: See TracBrowser for help on using the repository browser.