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

5
Last change on this file since ef1a985f 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
RevLine 
[4c98a3e]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
[ac7d5ef0]10/*
11 *  Fatal Error Manager
12 *
[fd3a990]13 *  COPYRIGHT (c) 1989-2009.
[ac7d5ef0]14 *  On-Line Applications Research Corporation (OAR).
15 *
[98e4ebf5]16 *  The license and distribution terms for this file may be
17 *  found in the file LICENSE in this distribution or at
[c499856]18 *  http://www.rtems.org/license/LICENSE.
[ac7d5ef0]19 */
20
[16351f7a]21#if HAVE_CONFIG_H
22#include "config.h"
23#endif
24
[ac7d5ef0]25#include <rtems/system.h>
26#include <rtems/fatal.h>
[5e9b32b]27#include <rtems/score/interr.h>
[ac7d5ef0]28
[d0bb8f3]29void rtems_fatal_error_occurred(
[8bd41178]30  uint32_t   the_error
[ac7d5ef0]31)
32{
[83bf105]33  _Terminate( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
[ac7d5ef0]34
35/* will not return from this routine */
36}
Note: See TracBrowser for help on using the repository browser.