1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1996. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @ifinfo |
---|
10 | @node Default Fatal Error Processing, Default Fatal Error Processing Introduction, Interrupt Processing Interrupt Stack, Top |
---|
11 | @end ifinfo |
---|
12 | @chapter Default Fatal Error Processing |
---|
13 | @ifinfo |
---|
14 | @menu |
---|
15 | * Default Fatal Error Processing Introduction:: |
---|
16 | * Default Fatal Error Processing Default Fatal Error Handler Operations:: |
---|
17 | @end menu |
---|
18 | @end ifinfo |
---|
19 | |
---|
20 | @ifinfo |
---|
21 | @node Default Fatal Error Processing Introduction, Default Fatal Error Processing Default Fatal Error Handler Operations, Default Fatal Error Processing, Default Fatal Error Processing |
---|
22 | @end ifinfo |
---|
23 | @section Introduction |
---|
24 | |
---|
25 | Upon detection of a fatal error by either the |
---|
26 | application or RTEMS the fatal error manager is invoked. The |
---|
27 | fatal error manager will invoke the user-supplied fatal error |
---|
28 | handlers. If no user-supplied handlers are configured, the |
---|
29 | RTEMS provided default fatal error handler is invoked. If the |
---|
30 | user-supplied fatal error handlers return to the executive the |
---|
31 | default fatal error handler is then invoked. This chapter |
---|
32 | describes the precise operations of the default fatal error |
---|
33 | handler. |
---|
34 | |
---|
35 | @ifinfo |
---|
36 | @node Default Fatal Error Processing Default Fatal Error Handler Operations, Board Support Packages, Default Fatal Error Processing Introduction, Default Fatal Error Processing |
---|
37 | @end ifinfo |
---|
38 | @section Default Fatal Error Handler Operations |
---|
39 | |
---|
40 | The default fatal error handler which is invoked by |
---|
41 | the fatal_error_occurred directive when there is no user handler |
---|
42 | configured or the user handler returns control to RTEMS. The |
---|
43 | default fatal error handler disables processor interrupts to |
---|
44 | level 15, places the error code in g1, and goes into an infinite |
---|
45 | loop to simulate a halt processor instruction. |
---|
46 | |
---|
47 | |
---|