mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Remove qdev irq sink handling
We have both IRQ sinks and GPIO inputs. These are in principle exactly the same thing, so remove the former. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
c2fb26379e
commit
067a3ddc88
18 changed files with 27 additions and 43 deletions
|
@ -84,7 +84,7 @@ static void realview_init(ram_addr_t ram_size,
|
|||
cpu_irq[3], NULL);
|
||||
}
|
||||
for (n = 0; n < 64; n++) {
|
||||
pic[n] = qdev_get_irq_sink(dev, n);
|
||||
pic[n] = qdev_get_gpio_in(dev, n);
|
||||
}
|
||||
|
||||
sysbus_create_simple("pl050_keyboard", 0x10006000, pic[20]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue