顯示廣告
隱藏 ✕
看板 uefacool
作者 uefang.
標題 [WDri] I/O request packets (IRPs)
時間 2011年12月03日 Sat. PM 01:34:01


※ 引述《uefang.》之銘言:
: ※ 本文轉寄自 uefang.bbs@kulu.twbbs.org
: 作者: uefang (雲飛-Smith) 站內: Uefacool
: 標題: [WDMo] I/O request packets (IRPs)
: 時間: 2010/03/19 Fri 16:12:52
: Take by http://en.wikipedia.org/wiki/I/O_request_packet
:
: I/O request packets (IRPs) are kernel mode structures that are used by Windows
: Driver Model (WDM) and Windows NT device drivers to communicate with each
: other and with the operating system. They are data structures that describe
: I/O requests, and can be equally well thought of as "I/O request descriptors"
: or similar. Rather than passing a large number of small arguments (such as
: buffer address, buffer size, I/O function type, etc.) to a driver, all of
: these parameters are passed via a single pointer to this persistent data
: structure.
: The IRP with all of its parameters can be put on a queue if the I/O request
: cannot be performed immediately. I/O completion is reported back to the I/O
: manager by passing its address to a routine for that purpose,
: IoCompleteRequest. The IRP may be repurposed as a special kernel APC object
: if such is required to report completion of the I/O to the requesting thread.
: IRPs are typically created by the I/O Manager in response to I/O requests from
: user mode. However, IRPs are sometimes created by the plug-and-play manager,
: power manager, and other system components, and can also be created by drivers
: and then passed to other drivers.
: The I/O request packet mechanism is also used by the VMS operating system, and
: was used by Digital's RSX family of operating systems before that.


--
※ 看板: uefacool 文章推薦值: 0 目前人氣: 0 累積人氣: 30 
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇