]> git.proxmox.com Git - qemu.git/blobdiff - hw/irq.h
PPC: Fix openpic with relative memregions
[qemu.git] / hw / irq.h
index f7849edc8e4b30423b92c726a632de6e94970dd1..64da2fd601763f02f8c6fdfa4354c7c5f1a3f270 100644 (file)
--- a/hw/irq.h
+++ b/hw/irq.h
@@ -30,4 +30,12 @@ void qemu_free_irqs(qemu_irq *s);
 /* Returns a new IRQ with opposite polarity.  */
 qemu_irq qemu_irq_invert(qemu_irq irq);
 
+/* Returns a new IRQ which feeds into both the passed IRQs */
+qemu_irq qemu_irq_split(qemu_irq irq1, qemu_irq irq2);
+
+/* Returns a new IRQ set which connects 1:1 to another IRQ set, which
+ * may be set later.
+ */
+qemu_irq *qemu_irq_proxy(qemu_irq **target, int n);
+
 #endif