From 9aceddaf7c4ba29477f1d5a682a21e17a597e5fb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 1998 14:50:31 +0000 Subject: updates --- doc/supplements/powerpc/fatalerr.t | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'doc/supplements/powerpc/fatalerr.t') 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 -- cgit v1.2.3