source: rtems/doc/supplements/i960/bsp.t @ ae68ff0

4.104.114.84.95
Last change on this file since ae68ff0 was ae68ff0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/27/97 at 12:40:11

Initial revision

  • Property mode set to 100644
File size: 2.9 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1997.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6
7@ifinfo
8@node Board Support Packages, Board Support Packages Introduction, Default Fatal Error Processing Default Fatal Error Handler Operations, Top
9@end ifinfo
10@chapter Board Support Packages
11@ifinfo
12@menu
13* Board Support Packages Introduction::
14* Board Support Packages System Reset::
15* Board Support Packages Processor Initialization::
16@end menu
17@end ifinfo
18
19@ifinfo
20@node Board Support Packages Introduction, Board Support Packages System Reset, Board Support Packages, Board Support Packages
21@end ifinfo
22@section Introduction
23
24An RTEMS Board Support Package (BSP) must be designed
25to support a particular processor and target board combination.
26This chapter presents a discussion of i960CA specific BSP
27issues.   For more information on developing a BSP, refer to the
28chapter titled Board Support Packages in the RTEMS C
29Applications User's Guide.
30
31@ifinfo
32@node Board Support Packages System Reset, Board Support Packages Processor Initialization, Board Support Packages Introduction, Board Support Packages
33@end ifinfo
34@section System Reset
35
36An RTEMS based application is initiated when the
37i960CA processor is reset.  When the i960CA is reset, the
38processor reads an Initial Memory Image (IMI) to establish its
39state.  The IMI consists of the Initialization Boot Record (IBR)
40and the Process Control Block (PRCB) from an Initial Memory
41Image (IMI) at location 0xFFFFFF00.  The IBR contains the
42initial bus configuration data, the address of the first
43instruction to execute after reset, the address of the PRCB, and
44the checksum used by the processor's self-test.
45
46@ifinfo
47@node Board Support Packages Processor Initialization, Processor Dependent Information Table, Board Support Packages System Reset, Board Support Packages
48@end ifinfo
49@section Processor Initialization
50
51The PRCB contains the base addresses for system data
52structures, and initial configuration information for the core
53and integrated peripherals.  In particular, the PRCB contains
54the initial contents of the Arithmetic Control (AC) Register as
55well as the base addresses of the Interrupt Vector Table, System
56Procedure Entry Table, Fault Entry Table, and the Control Table.
57In addition, the PRCB is used to configure the depth of the
58instruction and register caches and the actions when certain
59types of faults are encountered.
60
61The Process Controls (PC) Register is initialized to
620xC01F2002 which sets the i960CA's interrupt level to 0x1F  (31
63decimal).  In addition, the Interrupt Mask (IMSK) Register
64(alternately referred to as Special Function Register 1 or sf1)
65is set to 0x00000000 to mask all external and DMA interrupt
66sources.  Thus, all interrupts are disabled when the first
67instruction is executed.
68
69For more information regarding the i960CA's data
70structures and their contents, refer to Intel's i960CA User's
71Manual.
Note: See TracBrowser for help on using the repository browser.