From 5202ef942fb986011a31d9366fbf93a56f0056e4 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Tue, 16 Oct 2012 03:57:21 +0200 Subject: Move qemu_irq typedef out of qemu-common.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's necessary for making CPU child of DEVICE without causing circular header deps. Signed-off-by: Igor Mammedov [ehabkost: re-added the typedef to hw/irq.h after rebasing] Signed-off-by: Eduardo Habkost Signed-off-by: Andreas Färber --- hw/irq.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/irq.h') 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); -- cgit 1.4.1