摘要
介绍了嵌入式平台开发的PCI-Express接口FC HBA(光纤通道主机总线适配器)设备驱动在VxWorks操作系统下的实现方法,使该卡实现了设备识别和初始化、支持多优先级数据发送、数据接收等基本功能。其实现采用交叉编译方法,将C语言代码编译形成目标码应用于VxWorks操作系统。测试证明,在此嵌入式环境下其数据传输速率最高可达190MB/s以上,并能支持4个发送优先级的多个发送任务同时运行,可长期稳定运行。
This paper introduces the realization of a FC HBA driver with PCI-Express interface based on embedded VxWorks operating system.The HBA has such functions as finding and initializing device,sending data with optional four priority queue and receiving data.In realization of the driver,the C code is cross-compiled into object code and this object code works in VxWorks system.Results of experiment show that it has the highest data rate of 190 MB/s,and more than one task with different priority level can work together for long time.
出处
《信息通信》
2011年第2期28-30,共3页
Information & Communications