摘要
Windows 操作系统不允许应用程序直接访问硬件设备,给基于外设部件互连(peripheral component interconnection, PCI)总线的数据采集、存储、显示等工作带来很大困难.介绍了Windows设备驱动程序的工作机制和开发工具;讨论了在内核态下PCI总线设备驱动程序的编程方法,并利用通用设备驱动程序WinDriver实现了对PCI总线控制器PCI9052的访问和控制;给出了PCI设备安装程序的编程方法;提出了开发PCI总线驱动程序的三级编程结构.
The microsoft Windows operating system insulates the application programmer from accessing hardware directly. So it is difficult for data accessing base on PCI bus, such as acquisition, storage and display. The paper introduces the working principle and development tool, and discusses the programming methods of PCI virtual device driver (VxD) in Windows system. Using universal device driver,the paper achieves access and control to PCI9052. The paper also describes the installation of VxD, and puts forward a three-level-subroutine structure.
出处
《装备指挥技术学院学报》
2003年第3期85-88,共4页
Journal of the Academy of Equipment Command & Technology