⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fatalerr.t

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 T
字号:
@c@c  COPYRIGHT (c) 1988-2002.@c  On-Line Applications Research Corporation (OAR).@c  All rights reserved.@c@c  $Id: fatalerr.t,v 1.7 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 the user-supplied fatal errorhandlers.  If no user-supplied handlers are configured,  theRTEMS provided default fatal error handler is invoked.  If theuser-supplied fatal error handlers return 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 @code{rtems_fatal_error_occurred} directive when there is no user handlerconfigured or the user handler returns control to RTEMS.  Thedefault 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 itemizeIf 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -