Sign in
A Hole In My Head
Doron Holan's musings on drivers and other nibbles and bits
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Coding Thoughts
Design Patterns
KMDF
WDF
WDK Docs
WDM
WinDBG/KD Fun
Archive
Archives
December 2010
(1)
August 2010
(1)
May 2010
(3)
February 2010
(2)
March 2009
(2)
February 2009
(1)
January 2009
(2)
June 2008
(1)
April 2008
(4)
March 2008
(6)
December 2007
(1)
November 2007
(2)
October 2007
(8)
July 2007
(2)
June 2007
(4)
May 2007
(3)
April 2007
(5)
March 2007
(6)
February 2007
(6)
January 2007
(7)
December 2006
(6)
November 2006
(11)
October 2006
(9)
September 2006
(8)
August 2006
(17)
July 2006
(15)
June 2006
(9)
May 2006
(16)
March 2006
(20)
February 2006
(17)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
A Hole In My Head
SDV and PreFast for Drivers (PFD) article on CNET
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
These tools are essential for any driver writer and the folks who work on them are just down the hall from me. PFD is your normal PreFast with additional rules about kernel functions. SDV (static driver verifier) is a completely different tool which simulates...
A Hole In My Head
What did you think of WinHEC?
Posted
over 7 years ago
by
Doron Holan [MSFT]
2
Comments
First, it was great to meet some of you who are reading my blog in person. It's always nice to have faces behind the names. For those of you attended WinHEC, what did you think? Did you learn some interesting things or was it a waste of time or somewhere...
A Hole In My Head
How to create an exclusive device or debug why your device is exclusive
Posted
over 7 years ago
by
Doron Holan [MSFT]
8
Comments
Certain devices are exclusive access, or in simpler terms, only one handle can be opened for a particular device. A serial port is an example of an exclusive device; it would make no sense for 2 applications to have the port open because each would expect...
A Hole In My Head
Previous command completion in WinDBG
Posted
over 7 years ago
by
Doron Holan [MSFT]
3
Comments
One of the features I like about kd is that since you are using a console window, you get a lot of the console functionality for free. The 2 features that I really like are tab (err, F8) completion and the listing of command history (F7). On the other...
A Hole In My Head
Will be at WinHEC this week
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
Title says it all. You are more then invited to come find me and chat. I will be at the 2 day time (Wednesday and Thursday) ask the experts sessions as well as the KMDF lab which is running Wednesday morning. Other then that, I will be around WinHEC but...
A Hole In My Head
How do I track leaked references on KMDF handles?
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
In addition to the standard KMDFDV behavior, you can enable further verification on handles by their type. By enabling per handle type verification, you get a history of handle references/dereferences and tag tracking on those references. The KMDF...
A Hole In My Head
What does the KMDF verifier do?
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
When you turn on the KMDF verifier(KMDFDV), a whole slew of behaviors are verified. Unlike the WDM driver verifier (DV) which allows you to select which behaviors to verify, KMDFDV is nearly an all or nothing affair. Future versions of KMDFDV will...
A Hole In My Head
Yet another verifier? Yeah, KMDF has one too!
Posted
over 7 years ago
by
Doron Holan [MSFT]
3
Comments
One of the prominant design goals throughout KMDF's development cycle was to create a system that had a built in and deeply integrated verifier from the start. Furthermore, we had a goal to create a system that was easier to verify (as compared to...
A Hole In My Head
Mounting an ISO as a virtual CD rom drive
Posted
over 7 years ago
by
Doron Holan [MSFT]
3
Comments
A few people have emailed me over the past few days how they can see the contents of the KMDF v1.1 ISO (or any other ISO for that matter) without having to burn it to a disc or telling me about the virtual CD tool on http://www.microsoft.com . I am sure...
A Hole In My Head
KMDF V1.1 is now available
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
Windows 2000 support for everyone who asked: http://www.microsoft.com/whdc/driver/wdf/KMDF_pkg.mspx If you have already installed KMDF v1.0 on your machine, you will be asked to remove the v1.0 bits before the v1.1 bits will install. This is by...
A Hole In My Head
OS differences when ejecting an unstarted PDO
Posted
over 7 years ago
by
Doron Holan [MSFT]
2
Comments
One of the, errr, joys of owning the PnP state machine in KMDF is that I must be compatible with all the weird and wonderful behaviors of not only drivers, but the PnP manager itself. One such behavior was just fixed for the next release of KMDF (post...
A Hole In My Head
How to break in at the call site that invokes the break point
Posted
over 7 years ago
by
Doron Holan [MSFT]
8
Comments
I think everyone at some point in time wants to embed a break point in there code, whether it be for debugging purposes, path tracing, or detecting edge conditions that have not yet been tested. When I hit a break point, I would prefer that the debugger...
A Hole In My Head
Debugger commands (gu) that make my life easier
Posted
over 7 years ago
by
Doron Holan [MSFT]
3
Comments
It's a quick one today. One of the great features about windbg is that it has a return to caller button . I tend to like to keep my hands on the keyboard even when I am using windbg and Shift+F11 is still too cumbersome (long live the home row!). In the...
A Hole In My Head
Why does /FASTDETECT exist and how did it get its name?
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
/FASTDETECT is a command line flag in a boot.ini entry. It started showing up in Windows 2000 (W2K) by default. Why does this flag exist? Previous to W2K ntdetect.com performed a tremendous amount of device detection since PnP did not exist previous...
A Hole In My Head
How to test PnP state changes in your driver
Posted
over 7 years ago
by
Doron Holan [MSFT]
0
Comments
I'm still getting back into the flow of things at work, so I will start off this week with a simpler topic and move into meatier topics as get more control over my time. One thing I am constantly asked is "how do I manually test PnP state changes in my...
A Hole In My Head
My leave is over
Posted
over 7 years ago
by
Doron Holan [MSFT]
2
Comments
I am back at work. Things are a bit out of order having been gone for a month, but hopefully I will be able to write something tonight once things have quieted down. Needless to say, staying at home with my new son has been an amazing experience. It was...
Page 1 of 1 (16 items)