On Sun, 5 Feb 2012, Michael Haberler wrote: > Date: Sun, 5 Feb 2012 16:04:40 +0100 > From: Michael Haberler <[email protected]> > Reply-To: EMC developers <[email protected]> > To: [email protected], EMC developers <[email protected]> > Subject: Re: [Emc-developers] hm2 watchdog changes > > > Am 25.01.2012 um 06:52 schrieb Sebastian Kuzminsky: >>> >> >> Are you proposing a way to stop petting the watchdog from HAL, so that a >> HAL circuit can cause a watchdog bite? > > actually it would be useful to be able to trigger a watchdog bit from other > places than HAL, for instance a task crash. > > while not foolproof doing it in a signal handler, it worked pretty well to > remove the wd petting function from hal update > > -m
I agree with this. One way to do this without changing the way the default watchdog works is to bring the cookie out to to the HAL level (and the default cookie is a working cookie = 0x5AXXXXXXXX), Now a software sanity check can replace the cookie with a non-working cookie to trigger a bite. This would improve watchdog function in cases where a userland crash can be detected. Now I guess it could be argued than if you have a sanity check you could just exit, but I have seen cases where the realtime stuff hangs around presumable petting the watchdog... > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
