驱动开发调试环境配置

windbg的快捷键配置:
C:\WinDDK\7600.16385.1\Debuggers
windbg_cn.exe -b -k com:pipe,port=\\.\pipe\com_1,resets=0


符号路径设置方法:
srv*d:\symbols*http://msdl.microsoft.com/download/symbols


boot.ini文件配置
[boot loader]
timeout=7
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Debug" 
/fastdetect /debugport=com1 /baudrate=115200
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" 
/noexecute=optin /fastdetect


虚拟机配置Serial Port选项Use named pipe:中输入下面的内容:

\\.\pipe\com_1




驱动开发编译配置:

makefile内容

!INCLUDE $(NTMAKEENV)\makefile.def


Sources内容

TARGETNAME=HookSSDT
TARGETTYPE=DRIVER

TARGETPATH=SYS

INCLUDES=$(BASEDIR)\inc;\
      $(BASEDIR)\inc\wxp;\ 


SOURCES=HookSSDT.c\ 

你可能感兴趣的:(虚拟机,windows,Microsoft,XP,disk,winddk)