Computer Engineering and Applications ›› 2010, Vol. 46 ›› Issue (35): 58-60.DOI: 10.3778/j.issn.1002-8331.2010.35.017

• 研发、设计、测试 • Previous Articles     Next Articles

Packaged WDM driver programming design of high-speed data transmission system

LI Yong-zhe,HE Zi-shu,JIA Ke-xin,CHENG Ting   

  1. School of Electronic Engineering,University of Electronic Science and Technology of China,Chengdu 611731,China
  • Received:2010-07-21 Revised:2010-09-02 Online:2010-12-11 Published:2010-12-11
  • Contact: LI Yong-zhe

高速数据传输系统的WDM驱动程序的封装设计

李永哲,何子述,贾可新,程 婷   

  1. 电子科技大学 电子工程学院,成都 611731
  • 通讯作者: 李永哲

Abstract: As the third generation bus,PCI express bus is usually used as a real-time data transmission interface by the high-speed data transmission system.However,it needs the cooperation of WDM driver for interface chips which implement the data transmission.A driver programming applied in Windows XP operating system which takes PCI express interface chip PEX8311 for example is studied in this paper,and the bidirectional data transmission and package of driver programming are especially emphasised.It solves the problem of calling program between the first floor and the application layer of operating system.Moreover,this driver programming can be transplanted to other high-speed data transmission system utilizing such kind of bridge chips with small modification of the first floor instead of the application layer.

Key words: Windows Driver Mode(WDM), Direct Memory Access(DMA), Dynamic Link Library(DLL)

摘要: 高速数据传输系统多采用第三代高性能I/O总线——PCI Express总线作为实时数据传输接口,硬件接口一般需要接口芯片的支持从而使WDM驱动程序成为必需。以桥接芯片PEX8311为例设计了Windows XP系统环境下的WDM驱动程序,重点阐述了该驱动程序的数据传输和动态链接库(DLL)封装。封装后的驱动程序彻底解决了操作系统底层和应用层间交互调用的编程难题,其通用性强,只需在底层做少量芯片配置的修改便可移植作为新的接口芯片的驱动程序,而不需改动应用程序。

关键词: WDM驱动模式, DMA模式, 动态链接库

CLC Number: