驱动术语关系
2012-08-24 19:18
246 查看
DriverObject
↑ DeviceQueue (IRP队列)
| ↗
AttachedDevice ← DeviceObject → DeviceExtension → DeviceQueue(自定义队列)
↗ ↘ ↖Dpc|Timer
NextDevice DeviceName → SymbolicLink
设备很容易通过AttachedDevice 从低向高遍历
┌→ Dpc DISPATCH_LEVEL → 执行代码
│ 插入
└─ ISR → DIRQL KeSetTimer
1.Timer:
I/O Timer >1s IoInitializeTimer
Dpc Timer <1s
2.KeWaitForSingleObject
3.KeDelayExecutionThread
4.KeStallExecutionProcessor
利用DPC和Timer对Irp超时进行处理
I/O 端口:
Ke386SetIoAccessMap
WDM:
PNP管理器:
IRP_MN_START_DEVICE
CM_PARTIAL_RESOUCE_LIST
(_IO_STACK_LOCATION)stack->Parameters->StartDevice->AllocatedResourcesTranslated
↑ DeviceQueue (IRP队列)
| ↗
AttachedDevice ← DeviceObject → DeviceExtension → DeviceQueue(自定义队列)
↗ ↘ ↖Dpc|Timer
NextDevice DeviceName → SymbolicLink
设备很容易通过AttachedDevice 从低向高遍历
┌→ Dpc DISPATCH_LEVEL → 执行代码
│ 插入
└─ ISR → DIRQL KeSetTimer
1.Timer:
I/O Timer >1s IoInitializeTimer
Dpc Timer <1s
2.KeWaitForSingleObject
3.KeDelayExecutionThread
4.KeStallExecutionProcessor
利用DPC和Timer对Irp超时进行处理
I/O 端口:
Ke386SetIoAccessMap
WDM:
PNP管理器:
IRP_MN_START_DEVICE
CM_PARTIAL_RESOUCE_LIST
(_IO_STACK_LOCATION)stack->Parameters->StartDevice->AllocatedResourcesTranslated
相关文章推荐
- Oracle的驱动jar与jdk版本的对应关系
- 设备驱动基础0:设备模型之kobject,kset及其关系
- 网络广告术语CPC、CPM和CTR的含义和关系
- linux设备驱动归纳总结(八):2.总线、设备和驱动的关系
- 驱动中platform resource 和 porbe 之间的关系
- 对NAT中术语和转换关系的理解和研究
- liunx内核移植(三)——内核、驱动、应用程序、根文件系统的关系
- ALSA声卡驱动中的DAPM详解之五:建立widget之间的连接关系
- WinCE USB驱动架构及术语明析
- OSPF的特征、术语、包类型、邻居关系的建立、RID的选择、DR和BDR的选举、度量值的计算、默认路由、验证
- device_register和驱动driver_register先后注册的影响和关系
- 设备对象和驱动对象的关系
- 内核 驱动 硬件直接的关系
- linux设备驱动归纳总结(八):2.总线、设备和驱动的关系
- 驱动线程和干活线程的关系
- 常用二极管IN4148和单片机驱动的一些关系
- ALSA驱动、设备函数调用关系
- WINCE 流驱动接口各函数之间的关系
- linux驱动模型 -- bus,device,device_driver之间的关系
- usb 与pci驱动的关系