diff options
author | Andreas Färber <afaerber@suse.de> | 2014-06-18 00:57:08 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-07-01 04:12:48 +0200 |
commit | 615c4895703164134379b68214130dd502721174 (patch) | |
tree | 1f45ac3f2700376c249658db152c083fdff71754 /include | |
parent | f173d57a4cd3bb2a8362fe376cd9fd776b2f57d5 (diff) | |
download | qemu-615c4895703164134379b68214130dd502721174.zip qemu-615c4895703164134379b68214130dd502721174.tar.gz qemu-615c4895703164134379b68214130dd502721174.tar.bz2 |
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 9f34c96..6f874f5 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); |