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

5
Last change on this file since aa47302 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • 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.org/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.