Ram-Based Initialization - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

10
10-4
i960 Processor Compiler User's Guide

RAM-based Initialization

The
configuration file links the
lib/cycx.ld
a program under the MON960 monitor.
ROM-based Initialization
ROM-based startup routines must ensure that all the variable data is in
RAM. The routines must do the following:
Physically move any system data structures that the program modifies;
move the structures to the RAM address space.
Move the initialized variable data from ROM to the
Restart the processor, using the IAC (inter-agent communication) for
,
,
, and
KA
KB
SA
SB
the
,
and
architectures.
Cx
Hx
Jx
A startup routine performs the following operations to create a ROM-
based application:
Create an initialization boot record as a separately translated module.
Create architecture-specific data structures.
Initialize any necessary board-specific memory subsystems in either
the
or the startup routine of your program
main
Use the linker to locate the initialization boot record, system data
structures, and program code in the appropriate memory location for the
architecture and board configuration, as follows:
Put
code sections in the ROM address range
.text
Put
and
.data
.bss
Use the linker to define variables used symbolically in the startup routine.
The linker automatically generates symbols named
beginning and
__E section
architectures, or using the
data in the RAM address range
for the end of each section of your program.
startup file to run
crt960.o
section.
.data
instruction for
sysctl
for the
__B section

Advertisement

Table of Contents
loading

Table of Contents