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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [supplements/] [arm/] [fatalerr.t] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
@c
2
@c  COPYRIGHT (c) 1988-2002.
3
@c  On-Line Applications Research Corporation (OAR).
4
@c  All rights reserved.
5
@c
6
@c  fatalerr.t,v 1.1 2002/07/30 21:43:53 joel Exp
7
@c
8
 
9
@chapter Default Fatal Error Processing
10
 
11
@section Introduction
12
 
13
Upon detection of a fatal error by either the
14
application or RTEMS the fatal error manager is invoked.  The
15
fatal error manager will invoke the user-supplied fatal error
16
handlers.  If no user-supplied handlers are configured,  the
17
RTEMS provided default fatal error handler is invoked.  If the
18
user-supplied fatal error handlers return to the executive the
19
default fatal error handler is then invoked.  This chapter
20
describes the precise operations of the default fatal error
21
handler.
22
 
23
@section Default Fatal Error Handler Operations
24
 
25
The default fatal error handler which is invoked by
26
the @code{rtems_fatal_error_occurred} directive when there is
27
no user handler configured or the user handler returns control to
28
RTEMS.  The default fatal error handler performs the
29
following actions:
30
 
31
@itemize @bullet
32
@item disables processor interrupts,
33
@item places the error code in @b{r0}, and
34
@item executes an infinite loop (@code{while(0);} to
35
simulate a halt processor instruction.
36
@end itemize
37
 

powered by: WebSVN 2.1.0

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