时间频率学报
時間頻率學報
시간빈솔학보
JOURNAL OF TIME AND FREQUENCY
2011年
2期
117-124
,共8页
PCI驱动程序%即插即用%配置空间
PCI驅動程序%即插即用%配置空間
PCI구동정서%즉삽즉용%배치공간
PCI driver program%plug-and-play%configure space
介绍了在Windows系统下用Visualc++、DDK和DriverStudio软件对PCI(peripheral component interconnect)设备驱动程序的编写。阐述了PCI设备驱动程序的分层结构和编写方式。PCI驱动属于内核模式驱动程序中的即插即用驱动,PCI的即插即用功能是本丈重点介绍对象。另外介绍了PCI设备驱动通过配置空间获取设备资源的过程与方法,以及驱动程序与操作系统之间的通讯机制。
介紹瞭在Windows繫統下用Visualc++、DDK和DriverStudio軟件對PCI(peripheral component interconnect)設備驅動程序的編寫。闡述瞭PCI設備驅動程序的分層結構和編寫方式。PCI驅動屬于內覈模式驅動程序中的即插即用驅動,PCI的即插即用功能是本丈重點介紹對象。另外介紹瞭PCI設備驅動通過配置空間穫取設備資源的過程與方法,以及驅動程序與操作繫統之間的通訊機製。
개소료재Windows계통하용Visualc++、DDK화DriverStudio연건대PCI(peripheral component 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.