RAM 6.0 BUX II Series Podręcznik Użytkownika Strona 14

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 189
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 13
VxWorks
BSP Developer’s Guide, 6.0
6
Before describing the steps in the boot process, it is worth noting the files you must
write or modify during BSP development. Most of the work involved in
developing a BSP is accomplished by writing the following three routines:
romInit( ) in romInit.s - initializes the CPU and memory
sysHwInit( ) in sysLib.c - ensures that all board hardware is initialized to a
quiescent state
sysHwInit2( ) in sysLib.c - further prepares the board hardware for use with
VxWorks applications
A comprehensive list of the routines required in every BSP is provided in
2.3.4 Required Routines, p.32.
The following BSP files, device driver directories, and configuration directories are
common to most BSPs:
Required BSP Files:
target/config/bspname/bspname.h
target/config/bspname/config.h
target/config/bspname/Makefile
target/config/bspname/README
target/config/bspname/romInit.s
target/config/bspname/sysALib.s
target/config/bspname/sysLib.c
target/config/bspname/target.ref (or target.nr)
Optional BSP Files
target/config/bspname/sysSerial.c
target/config/bspname/configNet.h
target/config/bspname/sysEnd.c
Device Driver Directories:
target/src/drv/end
target/src/drv/hdisk
target/src/drv/intrCtl
Przeglądanie stron 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 188 189

Komentarze do niniejszej Instrukcji

Brak uwag