summary refs log tree commit diff stats
path: root/hw/ide
diff options
context:
space:
mode:
authorBernhard Kohl <bernhard.kohl@nsn.com>2010-12-08 15:59:55 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-12-11 18:36:31 +0000
commitfa82e9c300df6f7b8bd44a26ac752c4ea5da02c1 (patch)
treebc9655e214243dc745d915521d19d54e183a5f53 /hw/ide
parent74782223de16e30940630b2bdb488e650ece6cd4 (diff)
downloadfocaccia-qemu-fa82e9c300df6f7b8bd44a26ac752c4ea5da02c1.tar.gz
focaccia-qemu-fa82e9c300df6f7b8bd44a26ac752c4ea5da02c1.zip
wdt_i6300esb: register a reset function
The device shall set its default hardware state after each reset.
This includes that the timer is stopped which is especially important
if the guest does a reboot independantly of a watchdog bite. I moved
the initialization of the state variables completely from the init
to the reset function which is called right after init during the
first boot and afterwards during each reboot.

Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions