Configure the windows driver development environment
written by: jiftle time:
Windows driver development requires wdk, debug tools of wdk, VMWare
Development Environment Construction:
download from Microsoft website
(1) wdk:
http://www.microsoft.com/download/en/details.aspx? Displaylang = en & id = 11800
the latest is wdk7.1.0
(2) symbol files
http://msdn.microsoft.com/en-us/windows/hardware/gg463028
(3) install wdk: Build Environment, symbol files package
Virtual Machine debugging:
(1) install XP on a virtual machine system and edit c: \ Boot. add
multi (0) disk (0) RDISK (0) Partition (1) to the end of the INI boot file) \ Windows = "Microsoft Windows XP Professional debug"/fastdetect/debug/debugport = COM1/baudrate = 115200
(2) close the Virtual Machine and add a serial port. Choose pipe> \\. \ PIPE \ com_1, this end is server ., the other end is an application.
(3) go back to the local system, install tools of DEBUG in wdk7.1.0, and create a shortcut on the desktop.
purpose:
"C: \ winddk \ 7600.16385.1 \ debuggers \ windbg.exe "-y c: \ windows \ symbols \-B-K COM: pipe, port = \\. \ PIPE \ com_1, baud = 115200
Start Directory:
"C: \ winddk \ 7600.16385.1 \ debuggers \"
debugging procedure:
(1) Start the virtual machine to the Operating System Selection System Interface
(2) double-click the windbg Shortcut of the Local Machine
(3)
opened \\. \ PIPE \ com_1
waiting to reconnect...