diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-11 14:50:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-11 14:50:31 +0000 |
commit | 9aceddaf7c4ba29477f1d5a682a21e17a597e5fb (patch) | |
tree | d80eafa9cefc459ff09356a279f5973b87b758e8 /doc/supplements/powerpc/fatalerr.t | |
parent | Robin Kirkham reported that the install point was incorrect in this file. (diff) | |
download | rtems-9aceddaf7c4ba29477f1d5a682a21e17a597e5fb.tar.bz2 |
updates
Diffstat (limited to 'doc/supplements/powerpc/fatalerr.t')
-rw-r--r-- | doc/supplements/powerpc/fatalerr.t | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/supplements/powerpc/fatalerr.t b/doc/supplements/powerpc/fatalerr.t index 6717f406cc..ab7281368c 100644 --- a/doc/supplements/powerpc/fatalerr.t +++ b/doc/supplements/powerpc/fatalerr.t @@ -38,9 +38,25 @@ handler. @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 +the @code{rtems_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 all processor exceptions, -places the error code in r5, and goes into an infinite -loop to simulate a halt processor instruction. +default fatal error handler performs the following actions: + +@itemize @bullet + +@item places the error code in r3, and + +@item executes a trap instruction which results in a Program Exception. + +@end itemize + +If the Program Exception returns, then the following actions are performed: + +@itemize @bullet + +@item disables all processor exceptions by loading a 0 into the MSR, and + +@item goes into an infinite loop to simulate a halt processor instruction. + +@end itemize |