02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1<br />

Overview<br />

1.1 Introduction<br />

One strength of VxWorks is that it provides a high degree of architectural and<br />

hardware independence for application code. This portability is due to VxWorks’s<br />

modular design, which isolates all hardware-specific functionality into a set of<br />

libraries called the Board Support Package (<strong>BSP</strong>). The <strong>BSP</strong> libraries provide an<br />

identical software interface to the hardware functions of all boards. They include<br />

facilities for hardware initialization, interrupt handling and generation, hardware<br />

clock and timer management, mapping of local and bus memory spaces, memory<br />

sizing, and so on.<br />

Broadly speaking, there are several types of VxWorks porting activity:<br />

■<br />

Host Porting: Porting Tornado and VxWorks development capability to a<br />

previously unsupported host.<br />

■<br />

■<br />

■<br />

■<br />

Architecture Porting: Porting VxWorks and the Tornado debugger to a<br />

previously unsupported target processor type or architecture.<br />

Board Porting: Porting VxWorks to a new target board, for which there is<br />

already an architecture port and a host port available.<br />

Upgrading pre-Tornado <strong>BSP</strong>s to work with Tornado.<br />

Porting an optional Component to a Tornado release.<br />

Host ports and architecture ports require access to the entire VxWorks source code<br />

and are outside the scope of this manual. Board porting, the focus of this manual,<br />

requires access to just the hardware-dependent source within VxWorks and the<br />

debugger. This source code is the <strong>BSP</strong>.<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!