On 3/4/21 9:19 PM, Philippe Mathieu-Daudé wrote: > On 2/19/21 3:46 PM, Peter Maydell wrote: >> The SSE-300 has a slightly different set of shared-per-CPU interrupts, >> allow the irq_is_common[] array to be different per SSE variant. >> >> Signed-off-by: Peter Maydell <[email protected]> >> --- >> hw/arm/armsse.c | 39 +++++++++++++++++++++------------------ >> 1 file changed, 21 insertions(+), 18 deletions(-) >> >> diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c >> index f43f0524e28..b316fe69571 100644 >> --- a/hw/arm/armsse.c >> +++ b/hw/arm/armsse.c >> @@ -68,6 +68,7 @@ struct ARMSSEInfo { >> bool has_cpuid; >> Property *props; >> const ARMSSEDeviceInfo *devinfo; >> + const bool *irq_is_common; > > Maybe *const?
Forget what I said, I thought it was an array of pointers to bool arrays, but it is only an pointer to an array of booleans. > > Otherwise: > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> >
