On 5/12/26 13:34, Peter Maydell wrote:
The OMAP code creates a qemu_irq whose set function is
omap_mpu_wakeup(), and passes that irq into omap_mpuio_init(), which
saves it in its omap_mpuio_s::wakeup field. However nothing ever
touches that qemu_irq again, so omap_mpu_wakeup() is never called.
Remove all this as dead code. This lets us remove a direct call to
cpu_interrupt(cpu, CPU_INTERRUPT_EXITTB) from within board/SoC code,
which is pretty ugly and might not even do the right thing these
days.
Signed-off-by: Peter Maydell<[email protected]>
---
hw/arm/omap1.c | 18 ++----------------
include/hw/arm/omap.h | 2 --
2 files changed, 2 insertions(+), 18 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~