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