摘要
介绍了在Windows系统下用Visual C++、DDK和DriverStudio软件对PCI(peripheralcomponent interconnect)设备驱动程序的编写。阐述了PCI设备驱动程序的分层结构和编写方式。PCI驱动属于内核模式驱动程序中的即插即用驱动,PCI的即插即用功能是本文重点介绍对象。另外介绍了PCI设备驱动通过配置空间获取设备资源的过程与方法,以及驱动程序与操作系统之间的通讯机制。
This paper introduces a designing of PCI driver program in the Windows environment using the tools of Visual C++, DDK and DriverStudio. The hierarchical structure and programming method for PCI driver are described. PCI driver is a kernel-mode driver and it has the function of plug-and-play which is expounded emphatically in this paper. The process and method of getting the device resources through configure space for the PCI device driver, as well as the mechanism of communication between the operating system and the driver program are introduced.
出处
《时间频率学报》
CSCD
2011年第2期117-124,共8页
Journal of Time and Frequency
基金
国家自然科学基金资助项目(10773012)