hw/arm/armsse: Use an array for apb_ppc fields in the state structure
commit91eb4f64eb49ea8dc7e5ebf5fdb377008ee0b688
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:45:54 +0000 (19 14:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:02 +0000 (8 17:20 +0000)
treed61c28c9b002825bf9e2c025b95414a31774d884
parent4239b311467bea86578d9da3cd22909de69d7af7
hw/arm/armsse: Use an array for apb_ppc fields in the state structure

Convert the apb_ppc0 and apb_ppc1 fields in the ARMSSE state struct
to use an array instead of two separate fields.  We already had one
place in the code that wanted to be able to refer to the PPC by
index, and we're about to add more code like that.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210219144617.4782-22-peter.maydell@linaro.org
hw/arm/armsse.c
include/hw/arm/armsse.h