From 99899da43d66b50079ece80bc1c81b04b129e877 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 19 Oct 1998 13:03:03 +0000 Subject: Added chapter. --- doc/supplements/template/Makefile | 8 +++++++- doc/supplements/template/fatalerr.t | 31 +++++++++++++++++++++++++++++++ doc/supplements/template/template.texi | 4 ++-- 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 doc/supplements/template/fatalerr.t (limited to 'doc/supplements/template') diff --git a/doc/supplements/template/Makefile b/doc/supplements/template/Makefile index 27a93cdc1d..2dd8fa39d6 100644 --- a/doc/supplements/template/Makefile +++ b/doc/supplements/template/Makefile @@ -24,7 +24,8 @@ COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \ FILES= $(PROJECT).texi preface.texi \ $(COMMON_FILES) $(GENERATED_FILES) GENERATED_FILES=\ - cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi + cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \ + bsp.texi # bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \ # intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi @@ -76,6 +77,11 @@ fatalerr.texi: fatalerr.t Makefile -u "Top" \ -n "" ${*}.t +bsp.texi: bsp.t Makefile + $(BMENU) -p "" \ + -u "Top" \ + -n "" ${*}.t + intr.texi: intr.t Makefile replace: timedata.texi diff --git a/doc/supplements/template/fatalerr.t b/doc/supplements/template/fatalerr.t new file mode 100644 index 0000000000..4a3548ed8e --- /dev/null +++ b/doc/supplements/template/fatalerr.t @@ -0,0 +1,31 @@ +@c +@c COPYRIGHT (c) 1988-1998. +@c On-Line Applications Research Corporation (OAR). +@c All rights reserved. +@c +@c $Id$ +@c + +@chapter Default Fatal Error Processing + +@section Introduction + +Upon detection of a fatal error by either the +application or RTEMS the fatal error manager is invoked. The +fatal error manager will invoke the user-supplied fatal error +handlers. If no user-supplied handlers are configured, the +RTEMS provided default fatal error handler is invoked. If the +user-supplied fatal error handlers return to the executive the +default fatal error handler is then invoked. This chapter +describes the precise operations of the default fatal error +handler. + +@section Default Fatal Error Handler Operations + +The default fatal error handler which is invoked by +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 processor interrupts, +places the error code in @b{XXX}, and executes a @code{XXX} +instruction to simulate a halt processor instruction. + diff --git a/doc/supplements/template/template.texi b/doc/supplements/template/template.texi index 2fd116b0aa..0032fad405 100644 --- a/doc/supplements/template/template.texi +++ b/doc/supplements/template/template.texi @@ -68,7 +68,7 @@ END-INFO-DIR-ENTRY @include callconv.texi @include memmodel.texi @include intr.texi -@c @include fatalerr.texi +@include fatalerr.texi @c @include bsp.texi @c @include cputable.texi @c @include wksheets.texi @@ -87,7 +87,7 @@ Applications Supplement. * Calling Conventions:: * Memory Model:: * Interrupt Processing:: -** Default Fatal Error Processing:: +* Default Fatal Error Processing:: ** Board Support Packages:: ** Processor Dependent Information Table:: ** Memory Requirements:: -- cgit v1.2.3