Re: [Qemu-devel] [PATCH 1/3] irq: Add new function qemu_init_irqs

2012-09-24 Thread Peter Maydell
On 24 September 2012 20:08, Stefan Weil wrote: > It is used to avoid dynamic memory allocation for qemu_irq arrays > with known size or single qemu_irq variables. This patch is going to collide with Peter Crosthwaite's patch that allows an irq array to be extended. Also, the memory allocated wit

[Qemu-devel] [PATCH 1/3] irq: Add new function qemu_init_irqs

2012-09-24 Thread Stefan Weil
It is used to avoid dynamic memory allocation for qemu_irq arrays with known size or single qemu_irq variables. Signed-off-by: Stefan Weil --- hw/irq.c | 15 +-- hw/irq.h |4 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/hw/irq.c b/hw/irq.c index d413a0b.