From 6fe8acb41ed5a4b033ae7b5f876968e568476129 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 19 Feb 2021 14:46:03 +0000 Subject: hw/arm/armsse: Add missing SSE-200 SYS_PPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We forgot to implement a TYPE_UNIMPLEMENTED_DEVICE stub for the SYS_PPU in the SSE-200, which is at 0x50022000. Signed-off-by: Peter Maydell Tested-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20210219144617.4782-31-peter.maydell@linaro.org --- hw/arm/armsse.c | 9 +++++++++ include/hw/arm/armsse.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c index f72d1ad..f43f052 100644 --- a/hw/arm/armsse.c +++ b/hw/arm/armsse.c @@ -321,6 +321,15 @@ static const ARMSSEDeviceInfo sse200_devices[] = { .irq = NO_IRQ, }, { + .name = "SYS_PPU", + .type = TYPE_UNIMPLEMENTED_DEVICE, + .index = 7, + .addr = 0x50022000, + .size = 0x1000, + .ppc = NO_PPC, + .irq = NO_IRQ, + }, + { .name = NULL, } }; diff --git a/include/hw/arm/armsse.h b/include/hw/arm/armsse.h index eb4e937..104ba8d 100644 --- a/include/hw/arm/armsse.h +++ b/include/hw/arm/armsse.h @@ -135,7 +135,7 @@ OBJECT_DECLARE_TYPE(ARMSSE, ARMSSEClass, #define SSE_MAX_CPUS 2 -#define NUM_PPUS 7 +#define NUM_PPUS 8 /* Number of CPU IRQs used by the SSE itself */ #define NUM_SSE_IRQS 32 -- cgit v1.1