mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
Revert "irq: introduce qemu_irq_proxy()"
This function isn't used anymore.
This reverts commit 22ec3283ef
.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Esteban Bosse <estebanbosse@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
078778c5a5
commit
fc531e7cab
2 changed files with 0 additions and 19 deletions
|
@ -120,20 +120,6 @@ qemu_irq qemu_irq_split(qemu_irq irq1, qemu_irq irq2)
|
|||
return qemu_allocate_irq(qemu_splitirq, s, 0);
|
||||
}
|
||||
|
||||
static void proxy_irq_handler(void *opaque, int n, int level)
|
||||
{
|
||||
qemu_irq **target = opaque;
|
||||
|
||||
if (*target) {
|
||||
qemu_set_irq((*target)[n], level);
|
||||
}
|
||||
}
|
||||
|
||||
qemu_irq *qemu_irq_proxy(qemu_irq **target, int n)
|
||||
{
|
||||
return qemu_allocate_irqs(proxy_irq_handler, target, n);
|
||||
}
|
||||
|
||||
void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue