aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/features.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-21 08:51:25 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-31 19:36:44 +0100
commit6b8f40c61bbfef1abe77eeb9c716ec642927c12c (patch)
tree14c28dde90e1fee81ec51f9c1aff42b0a9cfc924 /scripts/qapi/features.py
parentd50280af1bc4b9a59c4a6424c6172a1397f5f6c3 (diff)
downloadqemu-6b8f40c61bbfef1abe77eeb9c716ec642927c12c.zip
qemu-6b8f40c61bbfef1abe77eeb9c716ec642927c12c.tar.gz
qemu-6b8f40c61bbfef1abe77eeb9c716ec642927c12c.tar.bz2
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>
Diffstat (limited to 'scripts/qapi/features.py')
0 files changed, 0 insertions, 0 deletions