source: rtems/doc/supplements/hppa1_1/fatalerr.t @ ae68ff0

4.104.114.84.95
Last change on this file since ae68ff0 was ae68ff0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/27/97 at 12:40:11

Initial revision

  • Property mode set to 100644
File size: 1.8 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1997.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6
7@ifinfo
8@node Default Fatal Error Processing, Default Fatal Error Processing Introduction, Interrupt Processing Disabling of Interrupts by RTEMS, Top
9@end ifinfo
10@chapter Default Fatal Error Processing
11@ifinfo
12@menu
13* Default Fatal Error Processing Introduction::
14* Default Fatal Error Processing Default Fatal Error Handler Operations::
15@end menu
16@end ifinfo
17
18@ifinfo
19@node Default Fatal Error Processing Introduction, Default Fatal Error Processing Default Fatal Error Handler Operations, Default Fatal Error Processing, Default Fatal Error Processing
20@end ifinfo
21@section Introduction
22
23Upon detection of a fatal error by either the
24application or RTEMS the fatal error manager is invoked.  The
25fatal error manager will invoke a user-supplied fatal error
26handler.  If no user-supplied handler is configured,  the RTEMS
27provided default fatal error handler is invoked.  If the
28user-supplied fatal error handler returns to the executive the
29default fatal error handler is then invoked.  This chapter
30describes the precise operations of the default fatal error
31handler.
32
33@ifinfo
34@node Default Fatal Error Processing Default Fatal Error Handler Operations, Board Support Packages, Default Fatal Error Processing Introduction, Default Fatal Error Processing
35@end ifinfo
36@section Default Fatal Error Handler Operations
37
38The default fatal error handler which is invoked by
39the fatal_error_occurred directive when there is no user handler
40configured or the user handler returns control to RTEMS.  The
41default fatal error handler disables processor interrupts (i.e.
42sets the I bit in the PSW register to 0), places the error code
43in r1, and executes a break instruction to simulate a halt
44processor instruction.
45
Note: See TracBrowser for help on using the repository browser.