source: rtems/doc/user/preface.texi @ a94c5a5d

4.104.114.84.95
Last change on this file since a94c5a5d was a94c5a5d, checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/97 at 15:55:10

Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.

Added the interrupt disable, enable, flash, and is in progress directives.

changed "97" to "1997"

  • Property mode set to 100644
File size: 8.6 KB
Line 
1@c
2@c  COPYRIGHT (c) 1996.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6
7@ifinfo
8@node Preface, Overview, Top, Top
9@end ifinfo
10@unnumbered Preface
11
12In recent years, the cost required to develop a
13software product has increased significantly while the target
14hardware costs have decreased.  Now a larger portion of money is
15expended in developing, using, and maintaining software.  The
16trend in computing costs is the complete dominance of software
17over hardware costs.  Because of this, it is necessary that
18formal disciplines be established to increase the probability
19that software is characterized by a high degree of correctness,
20maintainability, and portability.  In addition, these
21disciplines must promote practices that aid in the consistent
22and orderly development of a software system within schedule and
23budgetary constraints.  To be effective, these disciplines must
24adopt standards which channel individual software efforts toward
25a common goal.
26
27The push for standards in the software development
28field has been met with various degrees of success.  The
29Microprocessor Operating Systems Interfaces (MOSI) effort has
30experienced only limited success.  As popular as the UNIX
31operating system has grown, the attempt to develop a standard
32interface definition to allow portable application development
33has only recently begun to produce the results needed in this
34area.  Unfortunately, very little effort has been expended to
35provide standards addressing the needs of the real-time
36community.  Several organizations have addressed this need
37during recent years.
38
39The Real Time Executive Interface Definition (RTEID)
40was developed by Motorola with technical input from Software
41Components Group.  RTEID was adopted by the VMEbus International
42Trade Association (VITA) as a baseline draft for their proposed
43standard multiprocessor, real-time executive interface, Open
44Real-Time Kernel Interface Definition (ORKID).  These two groups
45are currently working together with the IEEE P1003.4 committee
46to insure that the functionality of their proposed standards is
47adopted as the real-time extensions to POSIX.
48
49This emerging standard defines an interface for the
50development of real-time software to ease the writing of
51real-time application programs that are directly portable across
52multiple real-time executive implementations.  This interface
53includes both the source code interfaces and run-time behavior
54as seen by a real-time application.  It does not include the
55details of how a kernel implements these functions.  The
56standard's goal is to serve as a complete definition of external
57interfaces so that application code that conforms to these
58interfaces will execute properly in all real-time executive
59environments.  With the use of a standards compliant executive,
60routines that acquire memory blocks, create and manage message
61queues, establish and use semaphores, and send and receive
62signals need not be redeveloped for a different real-time
63environment as long as the new environment is compliant with the
64standard.  Software developers need only concentrate on the
65hardware dependencies of the real-time system.  Furthermore,
66most hardware dependencies for real-time applications can be
67localized to the device drivers.
68
69A compliant executive provides simple and flexible
70real-time multiprocessing.  It easily lends itself to both
71tightly-coupled and loosely-coupled configurations (depending on
72the system hardware configuration).  Objects such as tasks,
73queues, events, signals, semaphores, and memory blocks can be
74designated as global objects and accessed by any task regardless
75of which processor the object and the accessing task reside.
76
77The acceptance of a standard for real-time executives
78will produce the same advantages enjoyed from the push for UNIX
79standardization by AT&T's System V Interface Definition and
80IEEE's POSIX efforts.  A compliant multiprocessing executive
81will allow close coupling between UNIX systems and real-time
82executives to provide the many benefits of the UNIX development
83environment to be applied to real-time software development.
84Together they provide the necessary laboratory environment to
85implement real-time, distributed, embedded systems using a wide
86variety of computer architectures.
87
88A study was completed in 1988, within the Research,
89Development, and Engineering Center, U.S. Army Missile Command,
90which compared the various aspects of the Ada programming
91language as they related to the application of Ada code in
92distributed and/or multiple processing systems.  Several
93critical conclusions were derived from the study.  These
94conclusions have a major impact on the way the Army develops
95application software for embedded applications. These impacts
96apply to both in-house software development and contractor
97developed software.
98
99A conclusion of the analysis, which has been
100previously recognized by other agencies attempting to utilize
101Ada in a distributed or multiprocessing environment, is that the
102Ada programming language does not adequately support
103multiprocessing.  Ada does provide a mechanism for
104multi-tasking, however, this capability exists only for a single
105processor system.  The language also does not have inherent
106capabilities to access global named variables, flags or program
107code.  These critical features are essential in order for data
108to be shared between processors.  However, these drawbacks do
109have workarounds which are sometimes awkward and defeat the
110intent of software maintainability and portability goals.
111
112Another conclusion drawn from the analysis, was that
113the run time executives being delivered with the Ada compilers
114were too slow and inefficient to be used in modern missile
115systems.  A run time executive is the core part of the run time
116system code, or operating system code, that controls task
117scheduling, input/output management and memory management.
118Traditionally, whenever efficient executive (also known as
119kernel) code was required by the application, the user developed
120in-house software.  This software was usually written in
121assembly language for optimization.
122
123Because of this shortcoming in the Ada programming
124language, software developers in research and development and
125contractors for project managed systems, are mandated by
126technology to purchase and utilize off-the-shelf third party
127kernel code.  The contractor, and eventually the Government,
128must pay a licensing fee for every copy of the kernel code used
129in an embedded system.
130
131The main drawback to this development environment is
132that the Government does not own, nor has the right to modify
133code contained within the kernel.  V&V techniques in this
134situation are more difficult than if the complete source code
135were available. Responsibility for system failures due to faulty
136software is yet another area to be resolved under this
137environment.
138
139The Guidance and Control Directorate began a software
140development effort to address these problems.  A project to
141develop an experimental run time kernel was begun that will
142eliminate the major drawbacks of the Ada programming language
143mentioned above. The Real Time Executive for Multiprocessor Systems
144(RTEMS) provides full capabilities for management of tasks,
145interrupts, time, and multiple processors in addition to those
146features typical of generic operating systems.  The code is
147Government owned, so no licensing fees are necessary.  RTEMS has
148been implemented in both the Ada and C programming languages.
149It has been ported to the following processor families:
150
151@itemize @bullet
152@item Intel i80386 and above
153@item Intel i80960
154@item Motorola MC68xxx
155@item Motorola MC683xx
156@item MIPS
157@item PowerPC
158@item SPARC
159@item Hewlett Packard PA-RISC
160@item AMD A29K
161@item UNIX
162@end itemize
163
164Support for other processor families, including RISC, CISC, and DSP, is
165planned.  Since almost all of RTEMS is written in a high level language,
166ports to additional processor families require minimal effort.
167
168RTEMS multiprocessor support is capable of handling
169either homogeneous or heterogeneous systems.  The kernel
170automatically compensates for architectural differences (byte
171swapping, etc.) between processors.  This allows a much easier
172transition from one processor family to another without a major
173system redesign.
174
175Since the proposed standards are still in draft form,
176RTEMS cannot and does not claim compliance.  However, the status
177of the standard is being carefully monitored to guarantee that
178RTEMS provides the functionality specified in the standard.
179Once approved, RTEMS will be made compliant.
180
181This document is a detailed users guide for a
182functionally compliant real-time multiprocessor executive.  It
183describes the user interface and run-time behavior of Release
184@value{RELEASE} of the @value{LANGUAGE} interface
185to RTEMS.
186
Note: See TracBrowser for help on using the repository browser.