core: Add watchdog timer support
authorMichel Pollet <buserror@gmail.com>
Wed, 6 Jan 2010 22:35:51 +0000 (22:35 +0000)
committerMichel Pollet <buserror@gmail.com>
Wed, 6 Jan 2010 22:43:10 +0000 (22:43 +0000)
commit163dd8199d1c63b6321ea54bb382339a3b35a5e3
treeba9950a7fbcf1147466a9413daf357c028e4e523
parent4570a6e37e546fa40d59d6c7d2e9b8a2204b66e3
core: Add watchdog timer support

Working base support for the watchdog timer,
and the WDT instruction that resets it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_watchdog.c [new file with mode: 0644]
simavr/sim/avr_watchdog.h [new file with mode: 0644]
simavr/sim/sim_core.c