
windows NT
文章平均质量分 68
知了112
记录自己成长每一步。加油!
展开
-
Interrupt Request Levels and DPCs
1,IRQLs(Interrupt Request Levels)IRQLs is used to synchronize kernel mode activity.In windows NT,higher priority activities or events interrupt those activities or events running at low priorities原创 2015-01-07 16:35:25 · 557 阅读 · 0 评论 -
Driver Structure
1,Driver Loading and InitializationNT drivers are dynamically loaded,in NT 4,drivers are almost loaded during system bootup, When a driver is loaded,the IO Mangaer calls its DriverEntry entry point.原创 2015-02-12 14:45:38 · 446 阅读 · 0 评论 -
The Layered Driver Model
1,The four types of kernel mode drivers from top to bottom are:File System drivers,Intermediate drivers,Device drivers,Mini-drivers.These four drivers be grouped together in stacks that work together原创 2015-01-12 19:06:18 · 550 阅读 · 0 评论 -
windows驱动编程学习笔记——(三)IRP
一,IRP的概念(I/O Request Package)当一个应用程序调用函数去操作某个设备时,比如调用createFile,deviceIOControl,等等时,I/O管理器为此函数创建一个IRP数据结构对象和一个IRP_STACK_LOCATION数据结构对象数组,(数组个数等于驱动程序堆栈上驱动的个数),IRP中的CurrentStackLocation指向IRP_STACK_LOC转载 2015-02-10 16:21:30 · 1881 阅读 · 0 评论 -
IO Manager and Device Driver
1,Driver Objects:It describes where a driver is loaded in physical memory,the driver's size,and its main entry points.Device Objects:It resprents a physical or logical device that can be the targe原创 2015-01-09 11:33:49 · 642 阅读 · 0 评论 -
windows驱动编程学习笔记——(二)
一,基本数据结构:点击打开链接二,DriverEntry()函数点击打开链接函数DriverEntry是每个驱动程序中必须的。如同Win32应用程序里的WinMain。DriverEntry的第一个参数就是一个DRIVER_OBJECT的指针。这个DRIVER_OBJECT结构就对应当前编写的驱动程序。其内存是Windows系统已经分配的。 第二个参数RegistryP转载 2015-01-30 14:30:48 · 594 阅读 · 0 评论 -
windows下常用命令或者操作
1,查看当前所在的目录dir命令2,进入到某一个目录比如进入D盘下的test目录,应该是先在cmd下输入 d: 然后输入cd test\3,windows下如何设置系统环境变量右击我的电脑选择最后一项属性,然后选择高级,再设置系统环境变量原创 2014-12-30 09:18:16 · 455 阅读 · 0 评论 -
windows NT key features
1,windows NT key featuresmultithreadingIn windows NT,each thread has its own scheduling priority(different from linux system)multitaskingqualtum:maximum length of time the thread will be allow原创 2014-12-29 10:01:23 · 454 阅读 · 0 评论 -
Registry
RegistryThe registry is nothing more than a database of configuration and administrative information about the operating system and related utilities.regedit.exe is a separate utility that works w原创 2015-01-07 16:58:27 · 461 阅读 · 0 评论 -
windows驱动编程学习笔记——(一)
一,下载WDK,WDK全称是Windows Driver Kit,如何下载WDK软件二,编写第一个驱动,点击打开链接在电脑任何位置新建一个目录命名为test,然后进入此目录新建一个test.c文件,该文件就是驱动程序。如下:NTSTATUSDriverEntry ( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STR转载 2015-01-30 13:41:44 · 565 阅读 · 0 评论 -
windows驱动编程学习路线
以下内容转载自点击打开链接[序言] 很多人都对驱动开发有兴趣,但往往找不到正确的学习方式.当然这跟驱动开发的本土化资料少有关系.大多学的驱动开发资料都以英文为主,这样让很多驱动初学者很头疼.本人从事驱动开发时间不长也不短,大概也就3~4年时间.大多数人都认为会驱动开发的都是牛人,高手之类的.其实高手,牛人不是这样定义的.我们在学习驱动开发之前,一定要明白一个道理:术转载 2015-01-30 15:58:16 · 1881 阅读 · 0 评论 -
[Debug][Windows]WinDbg工具
一,symbol filesymbol file是包含相关可执行文件(exe dll)调试信息的一种文件,通常是以.pdb为扩展名的,真正的可执行文件里通常没有想过调试信息,这样的好处是减少可执行文件的大小。二,WinDbg:WinDbg的下载:点击打开链接WinDbg的配置: 点击打开链接 运行WinDbg->菜单->File->Symbol File Path->原创 2015-01-25 13:08:10 · 507 阅读 · 0 评论