- Category:
- VxWorks
- Tags:
-
[PDF]
- File Size:
- 5.4mb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- tomtw
Description: BSP是板级支持包,是介于主板硬件和操作系统之间的一层,应该说是属于操作系统的一部分,主要目的是为了支持操作系统,使之能够更好的运行于硬件主板。BSP是相对于操作系统而言的,不同的操作系统对应于不同定义形式的BSP,例如 VxWorks的BSP和Linux的BSP相对于某一CPU来说尽管实现的功能一样,可是写法和接口定义是完全不同的,所以写BSP一定要按照该系统 BSP的定义形式来写(BSP的编程过程大多数是在某一个成型的BSP模板上进行修改)。这样才能与上层OS保持正确的接口,良好的支持上层OS。
例如:
在VxWorks中的网卡驱动,首先在config.h中包含该网卡,然后将网卡含网卡的信息的参数放入数组 END_TBL_ENTRY endDevTbl [] 中,系统通过函数muxDevLoad( )调用这个数组来安装网卡驱动。
而在Linux中的网卡驱动,是在space.c中声明该网络设备,再把网卡驱动的一些函数加到dev结构中,由函数ether_setup()来完成网卡驱动的安装。
File list (Check if you may need any files):
VxWorks\ARM 简介及编程.files\bg1.gif
.......\ARM 简介及编程.files
.......\ARM 简介及编程.htm
.......\BSP的概念.files\bg1.gif
.......\BSP的概念.files
.......\BSP的概念.htm
.......\VxWorks BSP和启动过程.files\bg1.gif
.......\VxWorks BSP和启动过程.files
.......\VxWorks BSP和启动过程.htm
.......\.......基本概念及常见问题.files\bg1.gif
.......\VxWorks基本概念及常见问题.files
.......\VxWorks基本概念及常见问题.htm
.......\.......编程开发资料\NetworkProtocolToolkitUsersGuide.pdf
.......\...................\VxWorksFRQ\VxWorksFRQ\index.html
.......\...................\..........\..........\VxWorks and Tornado II FAQ.files\back0001.gif
.......\...................\..........\..........\................................\button.gif
.......\...................\..........\..........\................................\sendmail.gif
.......\...................\..........\..........\................................\T2.jpeg
.......\...................\..........\..........\VxWorks and Tornado II FAQ.files
.......\...................\..........\..........\VxWorks and Tornado II FAQ.htm
.......\...................\..........\..........\vxw_changes.html
.......\...................\..........\..........\vxw_index.html
.......\...................\..........\..........\vxw_news.html
.......\...................\..........\..........\vxw_pt1.html
.......\...................\..........\..........\vxw_pt2.html
.......\...................\..........\..........\vxw_pt3.html
.......\...................\..........\..........\vxw_pt4.html
.......\...................\..........\..........\vxw_pt5.html
.......\...................\..........\..........\vxw_pt6.html
.......\...................\..........\..........\vxw_pt9.html
.......\...................\..........\..........\vxw_source.html
.......\...................\..........\VxWorksFRQ
.......\...................\VxWorksFRQ
.......\...................\vxworks_rt_kernel\vxworks_rt_kernel.pdf
.......\...................\vxworks_rt_kernel
.......\...................\VxWorks编程手册\guide\c-basic.html
.......\...................\...............\.....\c-basic1.html
.......\...................\...............\.....\c-basic2.html
.......\...................\...............\.....\c-basic3.html
.......\...................\...............\.....\c-basic4.html
.......\...................\...............\.....\c-basic5.html
.......\...................\...............\.....\c-basic6.html
.......\...................\...............\.....\c-basic7.html
.......\...................\...............\.....\c-basic8.html
.......\...................\...............\.....\c-config.html
.......\...................\...............\.....\c-config1.html
.......\...................\...............\.....\c-config2.html
.......\...................\...............\.....\c-config3.html
.......\...................\...............\.....\c-config4.html
.......\...................\...............\.....\c-config5.html
.......\...................\...............\.....\c-config6.html
.......\...................\...............\.....\c-config7.html
.......\...................\...............\.....\c-config8.html
.......\...................\...............\.....\c-config9.html
.......\...................\...............\.....\c-filesys.html
.......\...................\...............\.....\c-filesys1.html
.......\...................\...............\.....\c-filesys2.html
.......\...................\...............\.....\c-filesys3.html
.......\...................\...............\.....\c-filesys4.html
.......\...................\...............\.....\c-filesys5.html
.......\...................\...............\.....\c-filesys6.html
.......\...................\...............\.....\c-filesys7.html
.......\...................\...............\.....\c-iosys.html
.......\...................\...............\.....\c-iosys1.html
.......\...................\...............\.....\c-iosys2.html
.......\...................\...............\.....\c-iosys3.html
.......\...................\...............\.....\c-iosys4.html
.......\...................\..............