qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 09/24] hw/arm/mps2-tz: Make number of IRQs board-specific


From: Richard Henderson
Subject: Re: [PATCH v2 09/24] hw/arm/mps2-tz: Make number of IRQs board-specific
Date: Sun, 28 Feb 2021 19:18:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/15/21 3:51 AM, Peter Maydell wrote:
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>
---
  hw/arm/mps2-tz.c | 15 ++++++++++-----
  1 file changed, 10 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]