]> Git Repo - qemu.git/blobdiff - hw/irq.c
SPARC: Emulation of GRLIB APB UART
[qemu.git] / hw / irq.c
index eca707dd06e2c8e6e1031b39738b3ea5c4ee3f42..7703f62c6c486b7787985e4f17cc4c75cbef31f3 100644 (file)
--- a/hw/irq.c
+++ b/hw/irq.c
@@ -56,6 +56,12 @@ qemu_irq *qemu_allocate_irqs(qemu_irq_handler handler, void *opaque, int n)
     return s;
 }
 
+void qemu_free_irqs(qemu_irq *s)
+{
+    qemu_free(s[0]);
+    qemu_free(s);
+}
+
 static void qemu_notirq(void *opaque, int line, int level)
 {
     struct IRQState *irq = opaque;
This page took 0.020273 seconds and 4 git commands to generate.