diff options
author | Andreas Färber | 2014-06-18 09:57:08 +0200 |
---|---|---|
committer | Andreas Färber | 2014-07-01 04:12:48 +0200 |
commit | 615c4895703164134379b68214130dd502721174 (patch) | |
tree | 1f45ac3f2700376c249658db152c083fdff71754 /include | |
parent | irq: Allocate IRQs individually (diff) | |
download | qemu-615c4895703164134379b68214130dd502721174.tar.gz qemu-615c4895703164134379b68214130dd502721174.tar.xz qemu-615c4895703164134379b68214130dd502721174.zip |
irq: Slim conversion of qemu_irq to QOM
As a prequel to any big Pin refactoring plans, do an in-place conversion
of qemu_irq to an Object, so that we can reference it in link<> properties.
Signed-off-by: Andreas Färber <afaerber@suse.de>
[ PC Changes:
* Removed array-alloctor ref counting logic (limit changes just to
* single IRQ allocator)
* Removed WIP marking from subject line
]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/irq.h b/include/hw/irq.h index 9f34c96aab..6f874f5ac0 100644 --- a/include/hw/irq.h +++ b/include/hw/irq.h @@ -3,6 +3,8 @@ /* Generic IRQ/GPIO pin infrastructure. */ +#define TYPE_IRQ "irq" + typedef struct IRQState *qemu_irq; typedef void (*qemu_irq_handler)(void *opaque, int n, int level); |