aboutsummaryrefslogtreecommitdiff
path: root/hw/irq.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 14:36:08 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 14:36:08 +0000
commitcf0dbb21156f2fabdbe8b846b16dfc9825d8b23c (patch)
tree3a2291abc8655a6c6cc99cc51fc6346e547e3c1c /hw/irq.c
parentf090c9d4ad5812fb92843d6470a1111c15190c4c (diff)
Luminary board input support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3689 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/irq.c')
-rw-r--r--hw/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/irq.c b/hw/irq.c
index 960155ad04..eca707dd06 100644
--- a/hw/irq.c
+++ b/hw/irq.c
@@ -65,5 +65,7 @@ static void qemu_notirq(void *opaque, int line, int level)
qemu_irq qemu_irq_invert(qemu_irq irq)
{
+ /* The default state for IRQs is low, so raise the output now. */
+ qemu_irq_raise(irq);
return qemu_allocate_irqs(qemu_notirq, irq, 1)[0];
}