summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-19 13:03:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-19 13:03:03 +0000
commit99899da43d66b50079ece80bc1c81b04b129e877 (patch)
tree0c45f2dadce4258ec49a671db36ade3733b9bc36
parentad0f33160f3bf7c9322c8b145e415687b819a917 (diff)
downloadrtems-99899da43d66b50079ece80bc1c81b04b129e877.tar.bz2
Added chapter.
Diffstat (limited to '')
-rw-r--r--doc/supplements/template/Makefile8
-rw-r--r--doc/supplements/template/fatalerr.t31
-rw-r--r--doc/supplements/template/template.texi4
3 files changed, 40 insertions, 3 deletions
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::