mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user