diff options
| author | Peter Maydell | 2021-02-15 12:51:23 +0100 |
|---|---|---|
| committer | Peter Maydell | 2021-03-06 14:30:39 +0100 |
| commit | 11e1d41265c3915c5fa4c4bc2457bcad2fe1da74 (patch) | |
| tree | 3ee6ed241242f867e768c83efbb9e7c7d02d8a44 /include | |
| parent | hw/arm/mps2-tz: Condition IRQ splitting on number of CPUs, not board type (diff) | |
| download | qemu-11e1d41265c3915c5fa4c4bc2457bcad2fe1da74.tar.gz qemu-11e1d41265c3915c5fa4c4bc2457bcad2fe1da74.tar.xz qemu-11e1d41265c3915c5fa4c4bc2457bcad2fe1da74.zip | |
hw/arm/mps2-tz: Make number of IRQs board-specific
The AN524 has more interrupt lines than the AN505 and AN521; make
numirq board-specific rather than a compile-time constant.
Since the difference is small (92 on the current boards and 95 on the
new one) we don't dynamically allocate the cpu_irq_splitter[] array
but leave it as a fixed length array whose size is the maximum needed
for any of the boards.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210215115138.20465-10-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
