Subject: Re: watchdog reset?
To: None <jeffs@atheros.com>
From: Rafal Boni <rafal.boni@eDial.com>
List: port-sgimips
Date: 06/11/2001 11:28:41
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

In message <3B24D535.AC49CE2B@atheros.com>, you write: 

- -> > Yeah, in fact it's on by design more or less; I have a feeling it should
- -> > probably now be ripped out since I just put special-cased code into
- -> > my local tree to turn it off in cpu_Debugger() a few days ago (which
- -> > seems like the Wrong Thing since cpu_Debugger() is generic across all
- -> > MIPS ports).
- -> 
- -> What the ip22 port should do is fill in the db_trap_callback(),
- -> which I added for this exact purpose.  Then the watchdog can be
- -> disabled and re-enabled in MD code.

Cool, thanks.  Soren pointed the very same thing out to me a little bit
ago... I wasn't aware such a thing existed before, though it's just what
I was looking for.

I'll touch up the code to turn off the watchdog in the db_trap_callback()
[I hope it's also called on entry via the magic keystoke, not just for
 "real" traps] and see if I can make the watchdog code compatible with
the wdogctl protocol.

- --rafal

- ----
Rafal Boni                                              rafal.boni@eDial.com
 PGP key C7D3024C, print EA49 160D F5E4 C46A 9E91  524E 11E0 7133 C7D3 024C
    Need to get a hold of me?  http://800.edial.com/rafal.boni@eDial.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE7JOOpEeBxM8fTAkwRAumqAKD43XxhisY7hiZQrn3YscTaw3kFswCfYhp5
bT1bQxgZgT/B5Z3s8k+c4ks=
=t4lM
-----END PGP SIGNATURE-----