From 615c4895703164134379b68214130dd502721174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 18 Jun 2014 00:57:08 -0700 Subject: irq: Slim conversion of qemu_irq to QOM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 [ 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 Signed-off-by: Peter Crosthwaite Acked-by: Paolo Bonzini Signed-off-by: Andreas Färber --- include/hw/irq.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/hw/irq.h') 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); -- cgit v1.2.3