The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Some drivers for older equipment are not updated (and may never be updated) to behave quite good with newer Windows 10 builds (e.g. 2004) so they start very slow, especially during wake-up from hibernation procedure, what leads to the beloved DPC_WATCHDOG_VIOLATION BSODs. The error does not appear every time since drivers mostly manage to finish within the five hundred ticks threshold (which translates to about twenty seconds in human terms) but I must allow the drivers to do their job for a little longer than five hundred ticks -- maybe six hundred ticks will work for the error to go away altogether.
I could not find proper documentation on how this threshold should be changed (I was surprised a bit, considering that MS maintains a giant site which has almost everything in triple or quadruple versions but not this).
I can create "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Watchdog" registry branch but the only official documentation I found is this: https://docs.microsoft.com/en-us/windows-hardware/drivers/display/disabling-the-watchdog-timer-while-testing-display-drivers -- it only talks about a subset of drivers, namely, display drivers, not all drivers as necessary, and it does not offer a way to change the magical five hundred ticks threshold anyway.
So, does anyone know how to change the DCP time allotment (in ticks) threshold for the watchdog? Or, if it is not possible, how to turn off the DCP watchdog not just for display drivers but altogether? (I know it is not recommended, but I need to solve the issue in any way possible for the time being).
Thanks in advance.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||8 March 2021||LIVE ONLINE|