mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 08:33:19 +00:00
* BSP_TIMES, ChangeLog, Makefile.am, arm.texi, bsp.t, callconv.t, cpumodel.t, cputable.t, fatalerr.t, intr_NOTIMES.t, memmodel.t, preface.texi, stamp-vti, timeBSP.t, timing.texi, version.texi, wksheets.texi: New files as ARM supplement initial version added.
38 lines
1.2 KiB
Perl
38 lines
1.2 KiB
Perl
@c
|
|
@c COPYRIGHT (c) 1988-2002.
|
|
@c On-Line Applications Research Corporation (OAR).
|
|
@c All rights reserved.
|
|
@c
|
|
@c $Id$
|
|
@c
|
|
|
|
@chapter Default Fatal Error Processing
|
|
|
|
@section Introduction
|
|
|
|
Upon detection of a fatal error by either the
|
|
application or RTEMS the fatal error manager is invoked. The
|
|
fatal error manager will invoke the user-supplied fatal error
|
|
handlers. If no user-supplied handlers are configured, the
|
|
RTEMS provided default fatal error handler is invoked. If the
|
|
user-supplied fatal error handlers return to the executive the
|
|
default fatal error handler is then invoked. This chapter
|
|
describes the precise operations of the default fatal error
|
|
handler.
|
|
|
|
@section Default Fatal Error Handler Operations
|
|
|
|
The default fatal error handler which is invoked by
|
|
the @code{rtems_fatal_error_occurred} directive when there is
|
|
no user handler configured or the user handler returns control to
|
|
RTEMS. The default fatal error handler performs the
|
|
following actions:
|
|
|
|
@itemize @bullet
|
|
@item disables processor interrupts,
|
|
@item places the error code in @b{r0}, and
|
|
@item executes an infinite loop (@code{while(0);} to
|
|
simulate a halt processor instruction.
|
|
@end itemize
|
|
|