2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>

* develenv/direct.t, develenv/sample.t: Corrected various errors in the
	documentation.
This commit is contained in:
Glenn Humphrey
2007-11-29 16:13:53 +00:00
parent 1773d3bd6f
commit 1e121d8324
3 changed files with 111 additions and 75 deletions

View File

@@ -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> 2007-11-28 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/clock.t, user/concepts.t, user/conf.t, user/datatypes.t, * user/clock.t, user/concepts.t, user/conf.t, user/datatypes.t,

View File

@@ -124,10 +124,9 @@ This directory is configured, built, and installed separately
from the RTEMS executive and tests. This directory will not from the RTEMS executive and tests. This directory will not
be discussed further in this document. be discussed further in this document.
@item $@{RTEMS_ROOT@}/cpukit/ @item $@{RTEMS_ROOT@}/cpukit/
This directory is the root for all of the "multilib'able" 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 contents of this directory can be compiled like the
C Library (@code{libc.a}) and the functionality is C Library (@code{libc.a}) and the functionality is
neither CPU model nor BSP specific. The source code 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 subdirectory. Each ".cfg" file in this directory
is associated with a specific BSP and describes is associated with a specific BSP and describes
the CPU model, compiler flags, and procedure to 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 These files are described in detail in the
@b{RTEMS BSP and Device Driver Development Guide} @b{RTEMS BSP and Device Driver Development Guide}
and will not be discussed further in this document. and will not be discussed further in this document.
@item $@{RTEMS_ROOT@}/testsuites/ @item $@{RTEMS_ROOT@}/testsuites/
This directory contains the test suites for the 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 contents of this directory are discussed in the
@ref{Directory Structure testsuites/ Test Suites} section. @ref{Directory Structure testsuites/ Test Suites} section.
@@ -175,8 +174,6 @@ document.
@end table @end table
@c @c
@c c/ Directions @c c/ Directions
@c @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 as CPU model and BSP dependent libraries. The contents of
this directory are discussed in the this directory are discussed in the
@ref{Directory Structure c/src/ Directory} section. @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 @end table
@c @c
@@ -215,9 +205,18 @@ As mentioned previously, this directory is logically
the root for the RTEMS components the root for the RTEMS components
which are CPU model or board dependent. The which are CPU model or board dependent. The
following is a list of the subdirectories in this following is a list of the subdirectories in this
directorie and a description of each. directory and a description of each.
@table @code @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/ @item $@{RTEMS_ROOT@}/c/src/ada/
This directory contains the Ada95 language bindings to the This directory contains the Ada95 language bindings to the
RTEMS Classic API. RTEMS Classic API.
@@ -226,8 +225,13 @@ RTEMS Classic API.
This directory contains the test suite for the Ada This directory contains the test suite for the Ada
language bindings to the Classic API. 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/ @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 and @code{libcpu/} which contain the source code for
the Board Support Packages (BSPs) and CPU Model the Board Support Packages (BSPs) and CPU Model
specific source code for RTEMS. 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 peripheral chips which are designed to be CPU and
board dependent. This directory contains a variety board dependent. This directory contains a variety
of drivers for serial devices, network interface 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/ @item $@{RTEMS_ROOT@}/c/src/librdbg/
This directory contains the Ethernet-based remote debugging 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 directive implementations in this Optional Managers
return @code{E_NOTCONFIGURED}. 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/ @item $@{RTEMS_ROOT@}/c/src/wrapup/
This directory is responsible for taking the individual This directory is responsible for taking the individual
libraries and objects built in each of the components 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 c/src/lib/libbsp BSP Directory @c c/src/lib/libbsp BSP Directory
@c @c
@subsubsection c/src/lib/libbsp BSP Directory @subsubsection c/src/lib/libbsp BSP Directory
The "libbsp" directory contains a directory for each CPU family supported The "libbsp" directory contains a directory for each CPU family supported
@@ -295,20 +303,15 @@ processor family.
@c @c
@c Tree 7 - C BSP Library @c Tree 7 - C BSP Library
@c @c
The "libbsp" directory provides all the BSPs provided with this The "libbsp" directory provides all the BSPs provided with this
release of the RTEMS executive. The subdirectories are release of the RTEMS executive. The subdirectories are
divided, as discussed previously, based on specific processor divided, as discussed previously, based on specific processor
family, then further breaking down into specific target board family, then further broken down into specific target board
environments. The "shmdr" subdirectory provides the environments. The "no_cpu" subdirectory provides a starting point
implementation of a shared memory driver which supports the template BSP which can be used to develop a specific BSP for an
multiprocessing portion of the executive. In addition, two unsupported target board. The files in this subdirectory may aid
starting point subdirectories are provided for reference. The in preliminary testing of the RTEMS development environment that has
"no_cpu" subdirectory provides a template BSP which can be used been built for no particular target in mind.
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.
Below each CPU dependent directory is a directory for each target BSP Below each CPU dependent directory is a directory for each target BSP
supported in this release. supported in this release.
@@ -424,11 +427,7 @@ and FAT filesystems.
@item $@{RTEMS_ROOT@}/cpukit/libi2c/ @item $@{RTEMS_ROOT@}/cpukit/libi2c/
This directory contains the RTEMS I2C framework. This directory contains the RTEMS I2C framework.
@item $@{RTEMS_ROOT@}/cpukit/libmd/ @item $@{RTEMS_ROOT@}/cpukit/libmisc/
This directory contains a port of the standard MD5
checksum code.
@item $@{RTEMS_ROOT@}/c/src/libmisc/
This directory contains support facilities which This directory contains support facilities which
are RTEMS specific but otherwise unclassified. In are RTEMS specific but otherwise unclassified. In
general, they do not adhere to a standard API. 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 may also be used as a reference for the other ports to specific
processors. processors.
@item $@{RTEMS_ROOT@}/cpukit/shttpd/ @item $@{RTEMS_ROOT@}/cpukit/telnetd/
This directory contains the port of the Simple HTTPD
web server to RTEMS.
@item $@{RTEMS_ROOT@}/cpukit/telnet/
This directory contains the RTEMS telnetd server. This directory contains the RTEMS telnetd server.
@item $@{RTEMS_ROOT@}/cpukit/wrapup/ @item $@{RTEMS_ROOT@}/cpukit/wrapup/
@@ -509,7 +504,6 @@ library to RTEMS.
@c testsuites/ Test Suites @c testsuites/ Test Suites
@c @c
@section testsuites/ Test Suites @section testsuites/ Test Suites
This directory provides all of the RTEMS Test Suite This directory provides all of the RTEMS Test Suite
except those for the Classic API Ada95 binding except those for the Classic API Ada95 binding
This includes the single processor tests, multiprocessor tests, 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 This directory contains the test suite for the RTEMS
Classic API when executing on a single processor. Classic API when executing on a single processor.
The tests were originally designed to provide 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, executive code. With the addition of multiple APIs,
this is no longer the case as some SuperCore functionality this is no longer the case as some SuperCore functionality
is not available through the Classic API. Thus is not available through the Classic API. Thus
@@ -595,7 +589,6 @@ execution times by manager.
@c Documentation Directory @c Documentation Directory
@c @c
@section Documentation Directory @section Documentation Directory
This directory contains the source code for all RTEMS documentation This directory contains the source code for all RTEMS documentation
in @code{TexInfo} format as well as utilities used in the generation in @code{TexInfo} format as well as utilities used in the generation
of the RTEMS documentation set. This source code is used to produce of the RTEMS documentation set. This source code is used to produce
@@ -604,10 +597,6 @@ and PostScript.
@table @code @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/ @item $@{RTEMS_ROOT@}/doc/ada_user/
This directory contains the source code for the @cite{RTEMS This directory contains the source code for the @cite{RTEMS
Applications Ada User's Guide} which documents the Ada95 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 release notes document. This has not been used for
recent RTEMS releases. 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/ @item $@{RTEMS_ROOT@}/doc/started/
This directory contains the source code for the This directory contains the source code for the
@cite{Getting Started with RTEMS for C/C++ Users} manual. @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 linking commands based upon chapter, section, and
subsection organization. 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 @end table

View File

@@ -20,16 +20,14 @@ developed board support packages and device drivers as they
exercise a critical subset of RTEMS functionality that is often exercise a critical subset of RTEMS functionality that is often
broken in new BSPs. broken in new BSPs.
Each of the following sample applications will be listed in Some of the following sample applications will be covered in
more detail in the following sections: more detail in subsequent sections:
@table @b @table @b
@item Hello World @item Hello World
The RTEMS Hello World test is provided in The RTEMS Hello World test is provided in
the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/hello/}. the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/hello/}.
This test is helpful when testing new This test is helpful when testing new RTEMS development environment.
versions of RTEMS, BSPs, or modifications to any portion of the
RTEMS development environment.
@item Clock Tick @item Clock Tick
The @code{$@{RTEMS_ROOT@}/testsuites/samples/ticker/} The @code{$@{RTEMS_ROOT@}/testsuites/samples/ticker/}
@@ -50,24 +48,26 @@ developed MPCI layer is provided in
The @code{$@{RTEMS_ROOT@}/testsuites/samples/cdtest/} The @code{$@{RTEMS_ROOT@}/testsuites/samples/cdtest/}
subdirectory provides a simple C++ application using subdirectory provides a simple C++ application using
constructors and destructors. It is only built when 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 Paranoia Floating Point Test @item IO Stream
The directory @code{$@{RTEMS_ROOT@}/testsuites/samples/paranoia/} The RTEMS IO Stream test is provided in
contains the public domain floating point and math library test. the subdirectory @code{$@{RTEMS_ROOT@}/testsuites/samples/iostream/}.
This test is a simple C++ application which demonstrates that
@item Minimum Size Test C++ iostreams are functional. This requires that the RTEMS C++
The directory run-time support is functioning properly. This test is only
@code{$@{RTEMS_ROOT@}/testsuites/samples/minimum/} build when C++ is enabled.
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 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 @item Network Loopback Test
The @code{$@{RTEMS_ROOT@}/testsuites/samples/loopback/} The @code{$@{RTEMS_ROOT@}/testsuites/samples/loopback/}
@@ -76,12 +76,37 @@ sockets and the loopback network device. It does not require
the presence of network hardware in order to run. the presence of network hardware in order to run.
It is only built if RTEMS was configured with networking enabled. It is only built if RTEMS was configured with networking enabled.
@item Minimum Size Test
The directory
@code{$@{RTEMS_ROOT@}/testsuites/samples/minimum/}
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.
@end table @end table
The sample tests are written using the Classic API so the reader The sample tests are written using the Classic API so the reader
should be familiar with the terms used and should be familiar with the terms used and
material presented in the @b{RTEMS Applications Users Guide}. material presented in the @b{RTEMS Applications Users Guide}.
@c
@c
@c
@section Hello World @section Hello World
This sample application is in the following directory: 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 code and the console output routine. The C version of this
sample application uses the printf function from the RTEMS sample application uses the printf function from the RTEMS
Standard C Library to output messages. The Ada version of this 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: The following messages are printed:
@example @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 printed correctly, then either the BSP start up code or the
console output routine is not operating properly. console output routine is not operating properly.
@c
@c
@c
@section Clock Tick @section Clock Tick
This sample application is in the following directory: 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 match the above output, then the clock device driver is not
operating properly. operating properly.
@c
@c
@c
@section Base Single Processor Application @section Base Single Processor Application
This sample application is in the following directory: 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 application's single initialization task. The final messages
are printed from the single application task. are printed from the single application task.
@c
@c
@c
@section Base Multiple Processor Application @section Base Multiple Processor Application
This sample application is in the following directory: 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 number field in the RTEMS Multiprocessor Configuration Table
must be unique on each node. must be unique on each node.
@c
@c
@c
@section Constructor/Destructor C++ Application @section Constructor/Destructor C++ Application
This sample application is in the following directory: 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 group
@end example @end example
@c
@c
@c
@section Minimum Size Test @section Minimum Size Test
This sample application is in the following directory: 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 infrastructure such as malloc(), and RTEMS and
hardware shutdown support. hardware shutdown support.
@c
@c
@c
@section Paranoia Floating Point Application @section Paranoia Floating Point Application
This sample application is in the following directory: 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 executing to completion include stack overflow and FPU exception
handlers not installed. handlers not installed.
@c
@c
@c
@section Network Loopback Test @section Network Loopback Test
This sample application is in the following directory: This sample application is in the following directory: