Journals-Articles

A design of PCI driver program for time synchronization devices

Author:       ArticleSource:       Update time:2012/01/18

WU Cheng-ying1, 2, FAN Zhan-you1

(1. National Time Service Center, Chinese Academy of Sciences, Xi′an 710600, China;

2. Graduate University of Chinese Academy of Sciences, Beijing 100039, China)

Abstract: 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.

Key words: PCI driver program; plug-and-play; configure space

Appendix(es):