aboutsummaryrefslogtreecommitdiff
path: root/hw/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/irq.h')
-rw-r--r--hw/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/irq.h b/hw/irq.h
index e640c105e7..610e6b7623 100644
--- a/hw/irq.h
+++ b/hw/irq.h
@@ -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);