diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
commit | 067a3ddc8876cee8451d6f690a051e413a593fdc (patch) | |
tree | 1e0d067b7784874397b189947fde6f05dc3434ad /hw/armv7m.c | |
parent | c2fb26379e8bd0586f3ff054538217377f86635f (diff) |
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>
Diffstat (limited to 'hw/armv7m.c')
-rw-r--r-- | hw/armv7m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/armv7m.c b/hw/armv7m.c index 6be9940bcd..e3d00ffd7b 100644 --- a/hw/armv7m.c +++ b/hw/armv7m.c @@ -186,7 +186,7 @@ qemu_irq *armv7m_init(int flash_size, int sram_size, cpu_pic = arm_pic_init_cpu(env); sysbus_connect_irq(sysbus_from_qdev(nvic), 0, cpu_pic[ARM_PIC_CPU_IRQ]); for (i = 0; i < 64; i++) { - pic[i] = qdev_get_irq_sink(nvic, i); + pic[i] = qdev_get_gpio_in(nvic, i); } image_size = load_elf(kernel_filename, 0, &entry, &lowaddr, NULL); |