summaryrefslogtreecommitdiffstats
path: root/doc/supplements/powerpc/fatalerr.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/supplements/powerpc/fatalerr.texi')
-rw-r--r--doc/supplements/powerpc/fatalerr.texi24
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/supplements/powerpc/fatalerr.texi b/doc/supplements/powerpc/fatalerr.texi
index 6717f406cc..ab7281368c 100644
--- a/doc/supplements/powerpc/fatalerr.texi
+++ b/doc/supplements/powerpc/fatalerr.texi
@@ -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