URL
https://opencores.org/ocsvn/or1k/or1k/trunk
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.3 2002/01/17 21:47:46 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 disables processor interrupts,
|
29 |
|
|
places the error code in @b{XXX}, and executes a @code{XXX}
|
30 |
|
|
instruction to simulate a halt processor instruction.
|
31 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.