2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Single CPU Configuration<br />
Single CPU <strong>BSP</strong> Defines<br />
In a single CPU <strong>BSP</strong>, the following defines in config.h are usually used<br />
to declare the amount of memory on-board.<br />
LOCAL_MEM_SIZE Total memory available on-board<br />
USER_RESERVED_<br />
MEM<br />
Memory reserved <strong>for</strong> serial/MPSC drivers.<br />
Setting up of BAT registers<br />
Normally, in a Single CPU <strong>BSP</strong>, sysBatDesc (defined in sysLib.c) is<br />
used by usrMmuInit() (called from usrConfig.c) to set up the Block<br />
Address Translation (BAT) registers of CPU.<br />
Setting up of Bat registers<br />
MV64360 Resource partitioning<br />
Exception handling<br />
The default is to map PCI memory regions, MV64360's internal register<br />
space and the User Flash through BATs.<br />
Normally, in a Single CPU <strong>BSP</strong>, sysMemPhysDesc (defined in sysLib.c)<br />
is used to by usrMmuInit() (called from usrConfig.c) to set up the<br />
page table in memory.<br />
In a single CPU <strong>BSP</strong>, all the resources on the system controller such as PCI,<br />
DMA engines, timers, serial ports, Ethernet ports belong to the CPU.<br />
Although exception-handling code is not included as a part of the <strong>BSP</strong>,<br />
single CPU <strong>BSP</strong> handles exception in a similar manner as VxWorks.<br />
VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 3 - 3