James,
The IIRC correctly the standard driver for Windows is blisteringly simple
and was provided for embedded as a convenience to folks ‘assembling’ EW
systems from standard components.
It think it took me about an hour total to have a fully functional KMDF
based driver for the Intel 25AB device.
One WDFTIMER to tickle the Watchdog and keep it happy and an DPCForISR to do
the same.
What sort of ‘services’ are you looking for from the OS?
I mean, the only thing you can do is turn it on or off and that is typically
a BIOS function.
It was largely ripping off KMDF sample code (thanks) and reading the
datasheet to figure out what register to whack. Since I assume this is a
‘virtual watchdog’ you won’t be scratching your head reading an obtuse
datasheet so hey, 45 mins tops 
I truly can understand why MSFT did not agonize over a ‘framework’ for
supporting watchdog timers. You got a motherboard with a WDT in the
chipset? The vendor that created the chipset can give you a driver for it.
Good Luck,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of James Harper
Sent: Thursday, April 14, 2011 1:21 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] watchdog timer
Linux can make use of a hardware watchdog timer to allow a system to
force a hard reboot or shutdown if it becomes unresponsive. Does
Windows
have such a thing? Google tells me that it exists for embedded windows
but I can’t see anything in the WDK for normal server/workstation
OS’s,
but it wouldn’t be the first time that Windows and Linux have
different
names for the same thing so maybe I’m just not using the right
keywords…
There is work to create a ‘virtual watchdog’ timer under Xen to allow
Xen to automatically reboot a VM if it should stop responding, and it
would useful to implement that functionality into my Windows drivers
if
possible.
And before anyone points it out, yes I could just write it all myself,
but Linux has a framework for managing it all, including the necessary
steps to handle shutdown without triggering the watchdog etc, so I’m
asking if Windows has the same sort of framework.
Thanks
James
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer