aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-02-01 14:55:43 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-02-01 14:55:43 +0000
commite0b00f1b92d700171cfe39fac39de9fa75c1aecd (patch)
treef170d0ef12b399102ba7baa088b6fd3555bc73fa /include/hw
parentf8574705f62b38a610d398573828b57da24b1adb (diff)
downloadqemu-e0b00f1b92d700171cfe39fac39de9fa75c1aecd.zip
qemu-e0b00f1b92d700171cfe39fac39de9fa75c1aecd.tar.gz
qemu-e0b00f1b92d700171cfe39fac39de9fa75c1aecd.tar.bz2
hw/arm/armsse: Add unimplemented-device stubs for PPUs
Add unimplemented-device stubs for the various Power Policy Unit devices that the SSE-200 has. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190121185118.18550-17-peter.maydell@linaro.org
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/arm/armsse.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hw/arm/armsse.h b/include/hw/arm/armsse.h
index dbfcb28..9855ec5 100644
--- a/include/hw/arm/armsse.h
+++ b/include/hw/arm/armsse.h
@@ -106,6 +106,16 @@
#define SSE_MAX_CPUS 2
+/* These define what each PPU in the ppu[] index is for */
+#define CPU0CORE_PPU 0
+#define CPU1CORE_PPU 1
+#define DBG_PPU 2
+#define RAM0_PPU 3
+#define RAM1_PPU 4
+#define RAM2_PPU 5
+#define RAM3_PPU 6
+#define NUM_PPUS 7
+
typedef struct ARMSSE {
/*< private >*/
SysBusDevice parent_obj;
@@ -139,6 +149,7 @@ typedef struct ARMSSE {
IoTKitSysCtl sysinfo;
UnimplementedDeviceState mhu[2];
+ UnimplementedDeviceState ppu[NUM_PPUS];
/*
* 'container' holds all devices seen by all CPUs.