]> git.ipfire.org Git - thirdparty/qemu.git/commit
irq: introduce qemu_irq_proxy()
authorAvi Kivity <avi@redhat.com>
Sun, 18 Sep 2011 12:58:26 +0000 (15:58 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 23 Sep 2011 16:51:05 +0000 (11:51 -0500)
commit22ec3283efba9ba0792790da786d6776d83f2a92
tree79557ca07b0d21f73ff43c4b7258e47b5ec971dc
parente22517086bbdf8d09de2b9ba8b3dfa4c42ec0f6c
irq: introduce qemu_irq_proxy()

In some cases we have a circular dependency involving irqs - the irq
controller depends on a bus, which in turn depends on the irq controller.
Add qemu_irq_proxy() which acts as a passthrough, except that the target
irq may be set later on.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/irq.c
hw/irq.h