On 01/24/2012 02:16 PM, Peter C. Wallace wrote: > On Tue, 24 Jan 2012, Sebastian Kuzminsky wrote: > >> On Jan 24, 2012, at 09:02 , Peter C. Wallace wrote: >> >>> On Tue, 24 Jan 2012, Sebastian Kuzminsky wrote: >>> I do like the idea of the first read or write enabling the watchdog. >>> This >>> This means its impossible to run the hardware without a watchdog >>> (which is almost always a good thing) It might be a little nuisance >>> while testing things with halrun but I would feel better if the >>> watchdog was >>> always enabled (and has a short default timeout). >>> >>> Is there any way to make the pet_watchdog dependent on a cookie >>> (dog_biscuit)? >>> >>> That would make it possible for the watchdog to be conditionally >>> enabled in >>> HAL >> >> Are you looking for a way to make the watchdog inactive, so you don't >> have to pet it? How about setting the watchdog timeout to 0 in HAL? >> Doing that doesn't currently disable the watchdog, but it'd be easy >> to add. I'd have to move > > No, I did not make myself clear, what I was asking was a way to make > _petting_ the watchdog conditional so some other HAL sanity checking > function can be ANDed in if desired
Are you proposing a way to stop petting the watchdog from HAL, so that a HAL circuit can cause a watchdog bite? -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! 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-d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
