qemu/hw/sh4
Philippe Mathieu-Daudé 6b8f40c61b hw/sh4/r2d: Convert legacy qemu_allocate_irqs() to qemu_init_irqs()
The FPGA exposes a fixed set of IRQs. Hold them in the FPGA
state and initialize them in place calling qemu_init_irqs().

Move r2d_fpga_irq enums earlier so we can use NR_IRQS within
the r2d_fpga_t structure. r2d_fpga_init() returns r2d_fpga_t,
and we dereference irq from it in r2d_init().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250121182445.35309-1-philmd@linaro.org>
2025-01-31 19:36:44 +01:00
..
Kconfig hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
meson.build hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
r2d.c hw/sh4/r2d: Convert legacy qemu_allocate_irqs() to qemu_init_irqs() 2025-01-31 19:36:44 +01:00
sh7750.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
sh7750_regnames.c hw/sh4: Coding style: Add missing braces 2021-10-30 11:46:40 +02:00
sh7750_regnames.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
sh7750_regs.h sh4: correct typos 2024-02-21 08:16:30 +03:00
trace-events hw/sh4: Remove newline character in trace events 2024-06-10 13:05:27 -04:00
trace.h hw/sh4: Change debug printfs to traces 2021-10-30 18:39:37 +02:00