|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 09/24] hw/arm/mps2-tz: Make number of IRQs board-specific |
Date: | Fri, 12 Feb 2021 19:26:29 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/5/21 6:00 PM, 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> > --- > hw/arm/mps2-tz.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |