summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-29 16:13:53 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-29 16:13:53 +0000
commit1e121d8324d18119642fb55d8b0ab8f59db6e97c (patch)
treedf6b5d3ec0d115702beff1870a3e3402e9eacd62 /doc
parent2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-1e121d8324d18119642fb55d8b0ab8f59db6e97c.tar.bz2
2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* develenv/direct.t, develenv/sample.t: Corrected various errors in the documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/develenv/direct.t91
-rw-r--r--doc/develenv/sample.t82
3 files changed, 107 insertions, 71 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index a6d45ec899..286c634dcb 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>
+
+ * develenv/direct.t, develenv/sample.t: Corrected various errors in the
+ documentation.
+
2007-11-28 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/clock.t, user/concepts.t, user/conf.t, user/datatypes.t,
diff --git a/doc/develenv/direct.t b/doc/develenv/direct.t
index b1c97866ba..f96298a9ae 100644
--- a/doc/develenv/direct.t
+++ b/doc/develenv/direct.t
@@ -124,10 +124,9 @@ This directory is configured, built, and installed separately
from the RTEMS executive and tests. This directory will not
be discussed further in this document.
-
@item $@{RTEMS_ROOT@}/cpukit/
This directory is the root for all of the "multilib'able"
-portions of RTEMS. This is a GNU way of saying the the
+portions of RTEMS. This is a GNU way of saying the
contents of this directory can be compiled like the
C Library (@code{libc.a}) and the functionality is
neither CPU model nor BSP specific. The source code
@@ -151,14 +150,14 @@ most important parts are found in the @code{custom/}
subdirectory. Each ".cfg" file in this directory
is associated with a specific BSP and describes
the CPU model, compiler flags, and procedure to
-a produce an executable for the target board.
+produce an executable for the target board.
These files are described in detail in the
@b{RTEMS BSP and Device Driver Development Guide}
and will not be discussed further in this document.
@item $@{RTEMS_ROOT@}/testsuites/
This directory contains the test suites for the
-various RTEMS APIs and support libraries. This
+various RTEMS APIs and support libraries. The
contents of this directory are discussed in the
@ref{Directory Structure testsuites/ Test Suites} section.
@@ -175,8 +174,6 @@ document.
@end table
-
-
@c
@c c/ Directions
@c
@@ -197,13 +194,6 @@ is the root for the BSPs and the Ada Test Suites as well
as CPU model and BSP dependent libraries. The contents of
this directory are discussed in the
@ref{Directory Structure c/src/ Directory} section.
-
-@item $@{RTEMS_ROOT@}/c/make/
-This directory is used to generate the file @code{target.cfg}
-which is installed as part of the Application Makefiles. This
-file contains settings for various Makefile variables to
-tailor them to the particular CPU model and BSP configured.
-
@end table
@c
@@ -215,9 +205,18 @@ As mentioned previously, this directory is logically
the root for the RTEMS components
which are CPU model or board dependent. The
following is a list of the subdirectories in this
-directorie and a description of each.
+directory and a description of each.
@table @code
+@item $@{RTEMS_ROOT@}/c/src/aclocal/
+This directory contains the custom M4 macros which are available to
+the various GNU autoconf @code{configure.ac} scripts throughout
+this portion of the RTEMS source tree. GNU autoconf interprets
+@code{configure.ac} files to produce the @code{configure} files used
+to tailor RTEMS build for a particular host and target environment. The
+contents of this directory will not be discussed further in this
+document.
+
@item $@{RTEMS_ROOT@}/c/src/ada/
This directory contains the Ada95 language bindings to the
RTEMS Classic API.
@@ -226,8 +225,13 @@ RTEMS Classic API.
This directory contains the test suite for the Ada
language bindings to the Classic API.
+@item $@{RTEMS_ROOT@}/c/src/automake/
+This directory contains files which are "Makefile fragments."
+They are included as required by the various @code{Makefile.am}
+files throughout this portion of the RTEMS source tree.
+
@item $@{RTEMS_ROOT@}/c/src/lib/
-This directory contains the directories @code{libbsp}
+This directory contains the directories @code{libbsp/}
and @code{libcpu/} which contain the source code for
the Board Support Packages (BSPs) and CPU Model
specific source code for RTEMS.
@@ -249,7 +253,7 @@ This directory contains device drivers for various
peripheral chips which are designed to be CPU and
board dependent. This directory contains a variety
of drivers for serial devices, network interface
-controllers, and real-time clocks.
+controllers, shared memory and real-time clocks.
@item $@{RTEMS_ROOT@}/c/src/librdbg/
This directory contains the Ethernet-based remote debugging
@@ -273,6 +277,11 @@ may be explicitly forbidden by an application. All of the
directive implementations in this Optional Managers
return @code{E_NOTCONFIGURED}.
+@item $@{RTEMS_ROOT@}/c/src/support/
+This directory exists solely to generate the RTEMS
+version string which includes the RTEMS version,
+CPU architecture, CPU model, and BSP name.
+
@item $@{RTEMS_ROOT@}/c/src/wrapup/
This directory is responsible for taking the individual
libraries and objects built in each of the components
@@ -285,7 +294,6 @@ library contains all BSP and CPU model specific software.
@c
@c c/src/lib/libbsp BSP Directory
@c
-
@subsubsection c/src/lib/libbsp BSP Directory
The "libbsp" directory contains a directory for each CPU family supported
@@ -295,20 +303,15 @@ processor family.
@c
@c Tree 7 - C BSP Library
@c
-
The "libbsp" directory provides all the BSPs provided with this
release of the RTEMS executive. The subdirectories are
divided, as discussed previously, based on specific processor
-family, then further breaking down into specific target board
-environments. The "shmdr" subdirectory provides the
-implementation of a shared memory driver which supports the
-multiprocessing portion of the executive. In addition, two
-starting point subdirectories are provided for reference. The
-"no_cpu" subdirectory provides a template BSP which can be used
-to develop a specific BSP for an unsupported target board. The
-"stubdr" subdirectory provides stubbed out BSPs. These files
-may aid in preliminary testing of the RTEMS development
-environment that has been built for no particular target in mind.
+family, then further broken down into specific target board
+environments. The "no_cpu" subdirectory provides a starting point
+template BSP which can be used to develop a specific BSP for an
+unsupported target board. The files in this subdirectory may aid
+in preliminary testing of the RTEMS development environment that has
+been built for no particular target in mind.
Below each CPU dependent directory is a directory for each target BSP
supported in this release.
@@ -424,11 +427,7 @@ and FAT filesystems.
@item $@{RTEMS_ROOT@}/cpukit/libi2c/
This directory contains the RTEMS I2C framework.
-@item $@{RTEMS_ROOT@}/cpukit/libmd/
-This directory contains a port of the standard MD5
-checksum code.
-
-@item $@{RTEMS_ROOT@}/c/src/libmisc/
+@item $@{RTEMS_ROOT@}/cpukit/libmisc/
This directory contains support facilities which
are RTEMS specific but otherwise unclassified. In
general, they do not adhere to a standard API.
@@ -485,11 +484,7 @@ processor. The files contained within the @code{no_cpu} directory
may also be used as a reference for the other ports to specific
processors.
-@item $@{RTEMS_ROOT@}/cpukit/shttpd/
-This directory contains the port of the Simple HTTPD
-web server to RTEMS.
-
-@item $@{RTEMS_ROOT@}/cpukit/telnet/
+@item $@{RTEMS_ROOT@}/cpukit/telnetd/
This directory contains the RTEMS telnetd server.
@item $@{RTEMS_ROOT@}/cpukit/wrapup/
@@ -509,7 +504,6 @@ library to RTEMS.
@c testsuites/ Test Suites
@c
@section testsuites/ Test Suites
-
This directory provides all of the RTEMS Test Suite
except those for the Classic API Ada95 binding
This includes the single processor tests, multiprocessor tests,
@@ -551,7 +545,7 @@ using the RTEMS executive. They are discussed in
This directory contains the test suite for the RTEMS
Classic API when executing on a single processor.
The tests were originally designed to provide
-near complete test coverage for the the entire
+near complete test coverage for the entire
executive code. With the addition of multiple APIs,
this is no longer the case as some SuperCore functionality
is not available through the Classic API. Thus
@@ -595,7 +589,6 @@ execution times by manager.
@c Documentation Directory
@c
@section Documentation Directory
-
This directory contains the source code for all RTEMS documentation
in @code{TexInfo} format as well as utilities used in the generation
of the RTEMS documentation set. This source code is used to produce
@@ -604,10 +597,6 @@ and PostScript.
@table @code
-@item $@{RTEMS_ROOT@}/doc/user/
-This directory contains the source code for the @cite{RTEMS
-Applications C User's Guide} which documents the Classic API.
-
@item $@{RTEMS_ROOT@}/doc/ada_user/
This directory contains the source code for the @cite{RTEMS
Applications Ada User's Guide} which documents the Ada95
@@ -682,14 +671,6 @@ This directory contains the source code for a formally
release notes document. This has not been used for
recent RTEMS releases.
-@item $@{RTEMS_ROOT@}/doc/rgdb_specs/
-This directory contains the source code for the
-@cite{RTEMS Remote Debugger Server Specifications}.
-
-@item $@{RTEMS_ROOT@}/doc/rtems_gdb/
-This directory contains the source code for the
-@cite{RTEMS/GDB User's Guide}.
-
@item $@{RTEMS_ROOT@}/doc/started/
This directory contains the source code for the
@cite{Getting Started with RTEMS for C/C++ Users} manual.
@@ -706,4 +687,8 @@ is @code{bmenu} which generates the hierarchical node
linking commands based upon chapter, section, and
subsection organization.
+@item $@{RTEMS_ROOT@}/doc/user/
+This directory contains the source code for the @cite{RTEMS
+Applications C User's Guide} which documents the Classic API.
+
@end table
diff --git a/doc/develenv/sample.t b/doc/develenv/sample.t
index 998632d860..80ec184a1c 100644
--- a/doc/develenv/sample.t
+++ b/doc/develenv/sample.t
@@ -20,16 +20,14 @@ developed board support packages and device drivers as they
exercise a critical subset of RTEMS functionality that is often
broken in new BSPs.
-Each of the following sample applications will be listed in
-more detail in the following sections:
+Some of the following sample applications will be covered in
+more detail in subsequent sections:
@table @b
@item Hello World
The RTEMS Hello World test is provided in
the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/hello/}.
-This test is helpful when testing new
-versions of RTEMS, BSPs, or modifications to any portion of the
-RTEMS development environment.
+This test is helpful when testing new RTEMS development environment.
@item Clock Tick
The @code{$@{RTEMS_ROOT@}/testsuites/samples/ticker/}
@@ -50,12 +48,33 @@ developed MPCI layer is provided in
The @code{$@{RTEMS_ROOT@}/testsuites/samples/cdtest/}
subdirectory provides a simple C++ application using
constructors and destructors. It is only built when
-C++ is enabled.
+C++ is enabled and its primary purpose is to demonstrate
+that global constructors and destructors work. Since this
+requires that the linker script for your BSP be correct, this is
+an important test.
+
+@item File IO
+The RTEMS File IO test is provided in
+the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/fileio/}.
+This is an interactive test which allows the user to interact with
+an ATA/IDE device. It will read the partition table and allow the
+user to dynamically mount one of the FAT32 partitions it finds.
+Commands are also provided to write and read files on the disk.
+
+@item IO Stream
+The RTEMS IO Stream test is provided in
+the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/iostream/}.
+This test is a simple C++ application which demonstrates that
+C++ iostreams are functional. This requires that the RTEMS C++
+run-time support is functioning properly. This test is only
+build when C++ is enabled.
-
-@item Paranoia Floating Point Test
-The directory @code{$@{RTEMS_ROOT@}/testsuites/samples/paranoia/}
-contains the public domain floating point and math library test.
+@item Network Loopback Test
+The @code{$@{RTEMS_ROOT@}/testsuites/samples/loopback/}
+directory contains a sample test that demonstrates the use of
+sockets and the loopback network device. It does not require
+the presence of network hardware in order to run.
+It is only built if RTEMS was configured with networking enabled.
@item Minimum Size Test
The directory
@@ -64,24 +83,30 @@ contains a simple RTEMS program that results in a non-functional
executable. It is intended to show the size of a minimum footprint
application based upon the current RTEMS configuration.
+@item Paranoia Floating Point Test
+The directory @code{$@{RTEMS_ROOT@}/testsuites/samples/paranoia/}
+contains the public domain floating point and math library test.
+
+@item Point-to-Point Protocol Daemon
+The RTEMS Point-to-Point Protocol Daemon test is provided in
+the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/pppd/}.
+This test primarily serves as the baseline for a user application
+using the PPP protocol.
+
@item Unlimited Object Allocation
The @code{$@{RTEMS_ROOT@}/testsuites/samples/unlimited/}
directory contains a sample test that demonstrates the use of the
@i{unlimited} object allocation configuration option to RTEMS.
-@item Network Loopback Test
-The @code{$@{RTEMS_ROOT@}/testsuites/samples/loopback/}
-directory contains a sample test that demonstrates the use of
-sockets and the loopback network device. It does not require
-the presence of network hardware in order to run.
-It is only built if RTEMS was configured with networking enabled.
-
@end table
The sample tests are written using the Classic API so the reader
should be familiar with the terms used and
material presented in the @b{RTEMS Applications Users Guide}.
+@c
+@c
+@c
@section Hello World
This sample application is in the following directory:
@@ -94,7 +119,7 @@ It provides a rudimentary test of the BSP start up
code and the console output routine. The C version of this
sample application uses the printf function from the RTEMS
Standard C Library to output messages. The Ada version of this
-sample use the TEXT_IO package to output the hello messages.
+sample uses the TEXT_IO package to output the hello messages.
The following messages are printed:
@example
@@ -110,6 +135,9 @@ single initialization task. If the above messages are not
printed correctly, then either the BSP start up code or the
console output routine is not operating properly.
+@c
+@c
+@c
@section Clock Tick
This sample application is in the following directory:
@@ -157,6 +185,9 @@ task, TA3, every fifteen seconds. If the time printed does not
match the above output, then the clock device driver is not
operating properly.
+@c
+@c
+@c
@section Base Single Processor Application
This sample application is in the following directory:
@@ -184,6 +215,9 @@ The first two messages are printed from the
application's single initialization task. The final messages
are printed from the single application task.
+@c
+@c
+@c
@section Base Multiple Processor Application
This sample application is in the following directory:
@@ -233,6 +267,9 @@ Configuration Table. This file is not shared because the node
number field in the RTEMS Multiprocessor Configuration Table
must be unique on each node.
+@c
+@c
+@c
@section Constructor/Destructor C++ Application
This sample application is in the following directory:
@@ -279,6 +316,9 @@ Hey I'M in base class constructor number 1 for 0x400010cc.
@end group
@end example
+@c
+@c
+@c
@section Minimum Size Test
This sample application is in the following directory:
@@ -295,6 +335,9 @@ consists of hardware and RTEMS initialization, basic
infrastructure such as malloc(), and RTEMS and
hardware shutdown support.
+@c
+@c
+@c
@section Paranoia Floating Point Application
This sample application is in the following directory:
@@ -313,6 +356,9 @@ to run. Problems which commonly prevent this test from
executing to completion include stack overflow and FPU exception
handlers not installed.
+@c
+@c
+@c
@section Network Loopback Test
This sample application is in the following directory: