OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [sapi/] [src/] [fatal.c] - Blame information for rev 279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  Fatal Error Manager
3
 *
4
 *  COPYRIGHT (c) 1989-1999.
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.OARcorp.com/rtems/license.html.
10
 *
11
 *  $Id: fatal.c,v 1.2 2001-09-27 11:59:20 chris Exp $
12
 */
13
 
14
#include <rtems/system.h>
15
#include <rtems/fatal.h>
16
#include <rtems/score/interr.h>
17
 
18
/*PAGE
19
 *
20
 *  rtems_fatal_error_occurred
21
 *
22
 *  This directive will invoke the internal fatal error handler.
23
 *
24
 *  Input parameters:
25
 *    the_error - fatal error status code
26
 *
27
 *  Output parameters: NONE
28
 */
29
 
30
void volatile rtems_fatal_error_occurred(
31
  unsigned32 the_error
32
)
33
{
34
  _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
35
 
36
/* will not return from this routine */
37
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.