summaryrefslogtreecommitdiffstats
path: root/cpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-11-07 20:34:03 +0100
committerPeter Maydell2020-11-10 12:03:48 +0100
commit44cbf34975b81ac40e715cd3ee488a114d7b7d29 (patch)
tree52671b6822d80f3d5de859fabbe64cb6304d2d75 /cpu.c
parenthw/arm/musicpal: Don't connect two qemu_irqs directly to the same input (diff)
downloadqemu-44cbf34975b81ac40e715cd3ee488a114d7b7d29.tar.gz
qemu-44cbf34975b81ac40e715cd3ee488a114d7b7d29.tar.xz
qemu-44cbf34975b81ac40e715cd3ee488a114d7b7d29.zip
hw/arm/musicpal: Only use qdev_get_gpio_in() when necessary
We don't need to fill the full pic[] array if we only use few of the interrupt lines. Directly call qdev_get_gpio_in() when necessary. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201107193403.436146-6-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions