首页 | 官方网站   微博 | 高级检索  
     

PCI设备驱动程序的开发及应用
引用本文:李忠辉,张志文.PCI设备驱动程序的开发及应用[J].西安工业学院学报,2005,25(1):8-11,27.
作者姓名:李忠辉  张志文
作者单位:西安工业学院电子信息工程学院,西安工业学院电子信息工程学院 西安710032,西安710032
基金项目:中国兵器工业总公司 52 1研究所 (H2 0 0 3 0 743 )
摘    要:基于课题PCI总线数据采集卡的研制成功,要实现对卡上硬件资源(如内存、中断等)的访问,必须编写运行在核心态的设备驱动程序.详细介绍了在Windows2000操作系统下WDM驱动模型的基本原理及编写驱动程序时所面临的主要问题和解决方案.以DriverWorks为开发工具开发基于PCI局部总线的设备驱动程序,实现了可以访问PCI设备配置空间、物理内存、I/O端口及实现中断服务程序的PCI设备WDM驱动程序.最后通过大量的实验,验证了用此方法编写的驱动程序安全可靠,完全满足要求.

关 键 词:PCI局部总线  设备驱动程序  WDM
文章编号:1000-5714(2005)01-008-04

Development and application of PCI device driver
LI Zhong-hui,ZHANG Zhi-wen.Development and application of PCI device driver[J].Journal of Xi'an Institute of Technology,2005,25(1):8-11,27.
Authors:LI Zhong-hui  ZHANG Zhi-wen
Abstract:Because of the successfully developing of PCI bus data collecting card,the device driver must be written to visit the resource of the hardware on the card.The basic principle of Windows Driver Model and the subject matter and solution on device driver in Windows 2000 operation system are intoduced in this paper.Driver Works are regarded as the developing instrument,WDM device driver is developed based on PCI local bus.Such driver can access the configuration space,physical memory and I/O port of the PCI device and realize the interrupt service routine.The driver that written with this method is proved to be safe and reliable by a large number of experiments,totally meets the demands.
Keywords:PCI local bus  device driver  windows driver model(WDM)
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号