Jason Filby wrote:
Hi
I am not opposed to it, I just don't know how
we would support debugging
a driver vs a dll if we had support to toggle the messages. I guess it
could be done with little trouble everywhere.
I'm sure that that could be handled at the macro level; the include to
the DDK and the include to the SDK could have separate switches
perhaps?
I had an idea about this....
ExRosSetDebugLevel() and ExRosGetDebugLevel() can be ntdll umode
syscalls into ntoskrnl. We should shadow the debug level in umode so
that ExRosGetDebugLevel() doesn't have to jump to kmode every time we
query it.