Specifications

10
A Minimal PowerPCª Boot Sequence for
Executing Compiled C Program
s
Sample Boot Sequence
PRAM_BASE ppcinit.h The start address of the address range
corresponding to the physical address of the
RAM.
0x0000_0000
VROM_BASE ppcinit.h The start address of the address range
corresponding to the virtual address of the
ROM.
PROM_BASE
VRAM_BASE ppcinit.h The start address of the address range
corresponding to the virtual address of the
RAM.
PRAM_BASE
IBATxL_VAL ppcinit.h SpeciÞes the 32-bit value for the lower BAT
register for instruction BAT array entry x [x = 0 to
x = 3]
See Table 7
IBATxU_VAL ppcinit.h SpeciÞes the 32-bit value for the upper BAT
register for instruction BAT array entry x [x = 0 to
x = 3]
See Table 7
DBATxL_VAL ppcinit.h SpeciÞes the 32-bit value for the lower BAT
register for data BAT array entry x [x = 0 to x = 3]
See Table 7
DBATxU_VAL ppcinit.h SpeciÞes the 32-bit value for the upper BAT
register for data BAT array entry x [x = 0 to x = 3]
See Table 7
text, data, bss locations ld.script The locations of the text, data, and bss sections
may be speciÞed by the user in ld.script. These
addresses control the location of the various
sections in the compiled program image both
before and after relocation of the image. The
user can use these address to control whether
or not the sections are relocated by specifying
an image address that is equivalent to the post-
relocation address.
See ÒGCC
Compilation and
Linking.Ó
Table 6. User-Configurable Program Options (Continued)
Option
DeÞnition
Location
DeÞnition Default Value