mirror of https://gitee.com/openkylin/qemu.git
irq: Remove qemu_irq_intercept_out
No more users left and obsoleted by qdev_intercept_gpio_out. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
60a79016ae
commit
b58c303590
|
@ -144,12 +144,6 @@ void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void qemu_irq_intercept_out(qemu_irq **gpio_out, qemu_irq_handler handler, int n)
|
|
||||||
{
|
|
||||||
qemu_irq *old_irqs = *gpio_out;
|
|
||||||
*gpio_out = qemu_allocate_irqs(handler, old_irqs, n);
|
|
||||||
}
|
|
||||||
|
|
||||||
static const TypeInfo irq_type_info = {
|
static const TypeInfo irq_type_info = {
|
||||||
.name = TYPE_IRQ,
|
.name = TYPE_IRQ,
|
||||||
.parent = TYPE_OBJECT,
|
.parent = TYPE_OBJECT,
|
||||||
|
|
|
@ -61,6 +61,5 @@ qemu_irq *qemu_irq_proxy(qemu_irq **target, int n);
|
||||||
/* For internal use in qtest. Similar to qemu_irq_split, but operating
|
/* For internal use in qtest. Similar to qemu_irq_split, but operating
|
||||||
on an existing vector of qemu_irq. */
|
on an existing vector of qemu_irq. */
|
||||||
void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n);
|
void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n);
|
||||||
void qemu_irq_intercept_out(qemu_irq **gpio_out, qemu_irq_handler handler, int n);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue