首页 | 本学科首页   官方微博 | 高级检索  
     

基于IRP的Windows设备驱动程序间通讯的实现
引用本文:居锦武.基于IRP的Windows设备驱动程序间通讯的实现[J].四川轻化工学院学报,2010(4):414-416.
作者姓名:居锦武
作者单位:四川理工学院计算机学院,四川自贡643000
基金项目:四川省教育厅项目(09ZB128); 自贡市科技局项目(2009017)
摘    要:Windows操作系统上,应用程序不能直接访问设备,访问要通过内核中的设备驱动程序实现。当系统中存在多种被控设备时,可采取一个主驱动程序控制其它设备驱动程序的方式,实现对多个设备的统一、协调的控制。文章介绍了通过在内核中传递IO请求包(IRP)的方式,实现设备驱动程序之间的数据通讯的方法,该方法首先在内存中分配一个共享数据区,并将描述该共享区域的数据结构通过IRP在驱动程序间传递,实现在驱动程序间的数据通讯。

关 键 词:内核  设备驱动程序  I/O请求包  共享  通讯

Implementation of Communication Among IRP-based Device Drivers for Windows
JU Jin-wu.Implementation of Communication Among IRP-based Device Drivers for Windows[J].Journal of Sichuan Institute of Light Industry and Chemical Technology,2010(4):414-416.
Authors:JU Jin-wu
Affiliation:JU Jin-wu(School of Computer Science,Sichuan University of Science & Engineering,Zigong 643000,China)
Abstract:In the operating system of windows,the application can not directly access the devices,which can only be realized through the kernel device driver.When several accused devices are coexisting in this system,we can implement to control multiple devices consistently and coordinately by using a main device driver to monitor other processes.This paper introduces the approach of achieving the data communication among device drivers by passing IO Request Packets(IRP) in the kernel,which firstly allocates a shared region of data and describes the inter-transmission of the data structure,and most importantly,achieves the data communication among drivers.
Keywords:kernel  device driver  IRP  share  communication
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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