mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
04509ad939
commit
5202ef942f
8 changed files with 10 additions and 1 deletions
2
hw/irq.h
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue