diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-20 16:52:54 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-20 16:52:54 +0000 |
commit | 491730f3287a5dec9a8ff45a80ee80c6682d49e5 (patch) | |
tree | b1b27628daf1650ddd060fd72fbadfadc8de1e27 /hw | |
parent | 548df2acc6fcd12169583e7e7e25b33600cc20e7 (diff) |
SlavIO interrupt controller fix, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2515 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/slavio_intctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c index 288fb50f0a..456d9672e6 100644 --- a/hw/slavio_intctl.c +++ b/hw/slavio_intctl.c @@ -293,6 +293,7 @@ void slavio_pic_set_irq(void *opaque, int irq, int level) if (level) { s->intregm_pending |= mask; s->intreg_pending[s->target_cpu] |= 1 << pil; + slavio_check_interrupts(s); } else { s->intregm_pending &= ~mask; @@ -300,7 +301,6 @@ void slavio_pic_set_irq(void *opaque, int irq, int level) } } } - slavio_check_interrupts(s); } void slavio_pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu) |