forked from Imagelibrary/rtems
New files -- PowerPC supplement is based on the SPARC supplement.
This version has had some initial work done to convert it to be PowerPC specific.
This commit is contained in:
47
doc/supplements/powerpc/fatalerr.t
Normal file
47
doc/supplements/powerpc/fatalerr.t
Normal file
@@ -0,0 +1,47 @@
|
||||
@c
|
||||
@c COPYRIGHT (c) 1988-1996.
|
||||
@c On-Line Applications Research Corporation (OAR).
|
||||
@c All rights reserved.
|
||||
@c
|
||||
@c $Id$
|
||||
@c
|
||||
|
||||
@ifinfo
|
||||
@node Default Fatal Error Processing, Default Fatal Error Processing Introduction, Interrupt Processing Interrupt Stack, Top
|
||||
@end ifinfo
|
||||
@chapter Default Fatal Error Processing
|
||||
@ifinfo
|
||||
@menu
|
||||
* Default Fatal Error Processing Introduction::
|
||||
* Default Fatal Error Processing Default Fatal Error Handler Operations::
|
||||
@end menu
|
||||
@end ifinfo
|
||||
|
||||
@ifinfo
|
||||
@node Default Fatal Error Processing Introduction, Default Fatal Error Processing Default Fatal Error Handler Operations, Default Fatal Error Processing, Default Fatal Error Processing
|
||||
@end ifinfo
|
||||
@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.
|
||||
|
||||
@ifinfo
|
||||
@node Default Fatal Error Processing Default Fatal Error Handler Operations, Board Support Packages, Default Fatal Error Processing Introduction, Default Fatal Error Processing
|
||||
@end ifinfo
|
||||
@section Default Fatal Error Handler Operations
|
||||
|
||||
The default fatal error handler which is invoked by
|
||||
the fatal_error_occurred directive when there is no user handler
|
||||
configured or the user handler returns control to RTEMS. The
|
||||
default fatal error handler disables processor interrupts to
|
||||
level 15, places the error code in g1, and goes into an infinite
|
||||
loop to simulate a halt processor instruction.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user