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

4.104.11
Last change on this file since fd3a990 was fd3a990, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 9, 2009 at 3:03:18 PM

2009-11-09 Joel Sherrill <joel.sherrill@…>

  • sapi/src/fatal.c: Formatting.
  • Property mode set to 100644
File size: 803 bytes
Line 
1/*
2 *  Fatal Error Manager
3 *
4 *  COPYRIGHT (c) 1989-2009.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/system.h>
19#include <rtems/fatal.h>
20#include <rtems/score/interr.h>
21
22/*
23 *  rtems_fatal_error_occurred
24 *
25 *  This directive will invoke the internal fatal error handler.
26 *
27 *  Input parameters:
28 *    the_error - fatal error status code
29 *
30 *  Output parameters: NONE
31 */
32
33void rtems_fatal_error_occurred(
34  uint32_t   the_error
35)
36{
37  _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
38
39/* will not return from this routine */
40}
Note: See TracBrowser for help on using the repository browser.