diff options
author | Igor Mammedov <imammedo@redhat.com> | 2012-10-16 03:57:21 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-11-15 01:57:02 +0100 |
commit | 5202ef942fb986011a31d9366fbf93a56f0056e4 (patch) | |
tree | d7dc9a8bee1cbce041f0bfae8c320e23d472f731 /hw/irq.h | |
parent | 04509ad939a7878b487b29e3500b79b5e2c1de35 (diff) |
Move qemu_irq typedef out of qemu-common.h
It's necessary for making CPU child of DEVICE without
causing circular header deps.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
[ehabkost: re-added the typedef to hw/irq.h after rebasing]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/irq.h')
-rw-r--r-- | hw/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ /* Generic IRQ/GPIO pin infrastructure. */ +typedef struct IRQState *qemu_irq; + typedef void (*qemu_irq_handler)(void *opaque, int n, int level); void qemu_set_irq(qemu_irq irq, int level); |