1 | ======= |
---|
2 | Preface |
---|
3 | ======= |
---|
4 | |
---|
5 | |
---|
6 | The Real Time Executive for Multiprocessor Systems |
---|
7 | (RTEMS) is designed to be portable across multiple processor |
---|
8 | architectures. However, the nature of real-time systems makes |
---|
9 | it essential that the application designer understand certain |
---|
10 | processor dependent implementation details. These processor |
---|
11 | dependencies include calling convention, board support package |
---|
12 | issues, interrupt processing, exact RTEMS memory requirements, |
---|
13 | performance data, header files, and the assembly language |
---|
14 | interface to the executive. |
---|
15 | |
---|
16 | Each architecture represents a CPU family and usually there are |
---|
17 | a wide variety of CPU models within it. These models share a |
---|
18 | common Instruction Set Architecture (ISA) which often varies |
---|
19 | based upon some well-defined rules. There are often |
---|
20 | multiple implementations of the ISA and these may be from |
---|
21 | one or multiple vendors. |
---|
22 | |
---|
23 | On top of variations in the ISA, there may also be variations |
---|
24 | which occur when a CPU core implementation is combined with |
---|
25 | a set of peripherals to form a system on chip. For example, |
---|
26 | there are many ARM CPU models from numerous semiconductor |
---|
27 | vendors and a wide variety of peripherals. But at the |
---|
28 | ISA level, they share a common compatibility. |
---|
29 | |
---|
30 | RTEMS depends upon this core similarity across the CPU models |
---|
31 | and leverages that to minimize the source code that is specific |
---|
32 | to any particular CPU core implementation or CPU model. |
---|
33 | |
---|
34 | This manual is separate and distinct from the RTEMS Porting |
---|
35 | Guide. That manual is a guide on porting RTEMS to a new |
---|
36 | architecture. This manual is focused on the more mundane |
---|
37 | CPU architecture specific issues that may impact |
---|
38 | application development. For example, if you need to write |
---|
39 | a subroutine in assembly language, it is critical to understand |
---|
40 | the calling conventions for the target architecture. |
---|
41 | |
---|
42 | The first chapter in this manual describes these issues |
---|
43 | in general terms. In a sense, it is posing the questions |
---|
44 | one should be aware may need to be answered and understood |
---|
45 | when porting an RTEMS application to a new architecture. |
---|
46 | Each subsequent chapter gives the answers to those questions |
---|
47 | for a particular CPU architecture. |
---|
48 | |
---|
49 | .. COMMENT: COPYRIGHT (c) 1988-2002. |
---|
50 | |
---|
51 | .. COMMENT: On-Line Applications Research Corporation (OAR). |
---|
52 | |
---|
53 | .. COMMENT: All rights reserved. |
---|
54 | |
---|