📄 bsp.t
字号:
@c@c COPYRIGHT (c) 1988-2002.@c On-Line Applications Research Corporation (OAR).@c All rights reserved.@c@c $Id: bsp.t,v 1.7 2002/01/17 21:47:46 joel Exp $@c@chapter Board Support Packages@section IntroductionAn RTEMS Board Support Package (BSP) must be designedto support a particular processor and target board combination.This chapter presents a discussion of i960CA specific BSPissues. For more information on developing a BSP, refer to thechapter titled Board Support Packages in the RTEMSApplications User's Guide.@section System ResetAn RTEMS based application is initiated when thei960CA processor is reset. When the i960CA is reset, theprocessor reads an Initial Memory Image (IMI) to establish itsstate. The IMI consists of the Initialization Boot Record (IBR)and the Process Control Block (PRCB) from an Initial MemoryImage (IMI) at location 0xFFFFFF00. The IBR contains theinitial bus configuration data, the address of the firstinstruction to execute after reset, the address of the PRCB, andthe checksum used by the processor's self-test.@section Processor InitializationThe PRCB contains the base addresses for system datastructures, and initial configuration information for the coreand integrated peripherals. In particular, the PRCB containsthe initial contents of the Arithmetic Control (AC) Register aswell as the base addresses of the Interrupt Vector Table, SystemProcedure Entry Table, Fault Entry Table, and the Control Table.In addition, the PRCB is used to configure the depth of theinstruction and register caches and the actions when certaintypes of faults are encountered.The Process Controls (PC) Register is initialized to0xC01F2002 which sets the i960CA's interrupt level to 0x1F (31decimal). In addition, the Interrupt Mask (IMSK) Register(alternately referred to as Special Function Register 1 or sf1)is set to 0x00000000 to mask all external and DMA interruptsources. Thus, all interrupts are disabled when the firstinstruction is executed.For more information regarding the i960CA's datastructures and their contents, refer to Intel's i960CA User'sManual.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -