fatalerr.t
来自「RTEMS (Real-Time Executive for Multiproc」· T 代码 · 共 33 行
T
33 行
@c@c COPYRIGHT (c) 1988-2002.@c On-Line Applications Research Corporation (OAR).@c All rights reserved.@c@c $Id: fatalerr.t,v 1.6 2002/01/17 21:47:46 joel Exp $@c@chapter Default Fatal Error Processing@section IntroductionUpon detection of a fatal error by either theapplication or RTEMS the fatal error manager is invoked. Thefatal error manager will invoke a user-supplied fatal errorhandler. If no user-supplied handler is configured, the RTEMSprovided default fatal error handler is invoked. If theuser-supplied fatal error handler returns to the executive thedefault fatal error handler is then invoked. This chapterdescribes the precise operations of the default fatal errorhandler.@section Default Fatal Error Handler OperationsThe default fatal error handler which is invoked bythe fatal_error_occurred directive when there is no user handlerconfigured or the user handler returns control to RTEMS. Thedefault fatal error handler disables processor interrupts (i.e.sets the I bit in the PSW register to 0), places the error codein r1, and executes a break instruction to simulate a haltprocessor instruction.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?