diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-01-14 16:43:36 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-02-15 14:10:07 +0000 |
commit | 853e40df59b6e5a2965a1f2ab3559da84e85bace (patch) | |
tree | 5a50df6fc1b5f95a95c2cb116cc29e748ab86e12 | |
parent | 40b3f208c2f341077ec87314225678e3a2565559 (diff) | |
download | qemu-arm-853e40df59b6e5a2965a1f2ab3559da84e85bace.tar.gz |
hw/arm/armsse: Add missing SSE-200 SYS_PPU
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 <peter.maydell@linaro.org>
-rw-r--r-- | hw/arm/armsse.c | 9 | ||||
-rw-r--r-- | include/hw/arm/armsse.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c index f72d1adafe..f43f0524e2 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 eb4e937173..104ba8d26e 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 |