aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_timer.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-17 19:21:46 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-17 19:21:46 +0000
commit3d29fbef063ab1e8bfb9bc759ca94ab0becca9fa (patch)
treecc943bf9f87d4058ce221467149f1ff751ce9bcb /hw/slavio_timer.c
parent69d357286d0ab5a852e827dad1dc4b05917aaaa8 (diff)
Force the primary CPU to run and other CPUs to halt, recalculate timers
after system_reset. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2822 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_timer.c')
-rw-r--r--hw/slavio_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c
index 8898afc460..acf94f3d53 100644
--- a/hw/slavio_timer.c
+++ b/hw/slavio_timer.c
@@ -263,7 +263,7 @@ static void slavio_timer_reset(void *opaque)
s->reached = 0;
s->mode &= 2;
s->stopped = 1;
- slavio_timer_get_out(s);
+ slavio_timer_irq(s);
}
void slavio_timer_init(uint32_t addr, int irq, int mode, unsigned int cpu,