mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-05 22:12:18 -10:00
Instead of filling an array of all the possible IRQs, only call qdev_get_gpio_in() when an IRQ is used. Remove the array from RX62NState. Doing so we avoid calling qdev_get_gpio_in() on an unrealized device. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Reviewed-by: Yoshinori Sato <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]>