WDK知识点.IRQL

Posted DriverSkill

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WDK知识点.IRQL相关的知识,希望对你有一定的参考价值。

1、关键字:

  KeRaiseIrqlhttps://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-keraiseirql

  KeLowerIrqlhttps://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-kelowerirql

  KeRaiseIrqlToDpcLevel(https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-keraiseirqltodpclevel

  KeGetCurrentIrql(https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-kegetcurrentirql

#define PASSIVE_LEVEL                            0
#define LOW_LEVEL                                0
#define APC_LEVEL                                1
#define DISPATCH_LEVEL                           2
#define PROFILE_LEVEL                            27
#define CLOCK1_LEVEL                             28
#define CLOCK2_LEVEL                             28
#define IPI_LEVEL                                29
#define POWER_LEVEL                              30
#define HIGH_LEVEL                               31

 

2、资料:

  2.1、Managing Hardware Priorities _ Microsoft Docs.htmlhttps://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/managing-hardware-priorities

  2.2、Dispatch Routines and IRQLs _ Microsoft Docs.html(https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/dispatch-routines-and-irqls

  2.3、

    _IO_STACK_LOCATION _ Microsoft Docs.html(https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/ns-wdm-_io_stack_location

    I_O Stack Locations _ Microsoft Docs.html(https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/i-o-stack-locations

    IRP structure (Windows Drivers).html(https://msdn.microsoft.com/library/windows/hardware/ff550694

  2.4、设备驱动程序和线程上下文切换的IRQL问题,怎么解决 - 91? 编程问答.html(百度搜索 "设备驱动程序和线程上下文切换的IRQL问题")(ZC:貌似 原来的帖子打不开...只能看百度的快照了...)

    http://cache.baiducontent.com/c?m=9d78d513d9951aee1abed22f5701d6160e53f4743da78e423b83cd5f931500010438f4bb56604345929e383016ae394bed842173475d77f3cc969f4aace4c9796fd56669245a9206528d16f58d0067d621e347f4ea5ca2adf04598ad92c4df230f9d151829c1a9965a0713cd6cfa1326e3d1c30e4a01&p=8c769a4786cc43b302bbcb355b&newp=87769a47c7b118b112bd9b7c4753d8304a02c70e3fc3864e1290c408d23f061d4862e4ba22221103d7c27d6c02af425beafa377323454df6cc8a871d81ed835a76966d&user=baidu&fm=sc&query=DISPATCH_LEVEL+IRQL++PASSIVE_LEVEL+microsoft&qid=e45e930b00012046&p1=8

 

  2.5、IRQL中断请求级别及APC_LEVEL讨论 - CSDN博客.html(https://blog.csdn.net/yujiao90/article/details/37880247

    ZC:合格文章讲的 比较详细,里面的内容看上去很像是官网上的内容,但是 我一直想找官方的文档(关于各个IRQL级别的解释),就是一直都没能找到...

3、

4、

5、

 

以上是关于WDK知识点.IRQL的主要内容,如果未能解决你的问题,请参考以下文章

Win10 蓝屏失败的操作nvlddmkm.sys,终止代码driver_irql_less_or_equal

VS2017 + WDK7600搭建Windows XP驱动编译环境

IRQL和内核字符串处理函数

vs驱动项目修改成wdk7600项目

win8笔记本电脑蓝屏,错误代码是DRIVER_IRQL_NOT_LESS_OR_EQUAL(athwbx.sys)

android小知识点代码片段