This commit is contained in:
Joel Sherrill
1998-02-11 14:50:31 +00:00
parent 84b0f7c99d
commit 9aceddaf7c
17 changed files with 534 additions and 649 deletions

View File

@@ -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