summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEdgar E. Iglesias2019-11-26 14:55:36 +0100
committerPeter Maydell2019-11-26 14:55:36 +0100
commitf0138990ce1e8166ef1488e3b77b2d21ce71ede3 (patch)
treef4b1eb4b24a5e74c114bcb15f603ed671f67451a /include
parenttarget/arm: Fix handling of cortex-m FTYPE flag in EXCRET (diff)
downloadqemu-f0138990ce1e8166ef1488e3b77b2d21ce71ede3.tar.gz
qemu-f0138990ce1e8166ef1488e3b77b2d21ce71ede3.tar.xz
qemu-f0138990ce1e8166ef1488e3b77b2d21ce71ede3.zip
hw/arm: versal: Add the CRP as unimplemented
Add the CRP as unimplemented thus avoiding bus errors when guests access these registers. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Luc Michel <luc.michel@greensocs.com> Message-id: 20191115154734.26449-2-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/xlnx-versal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h
index 14405c1465..d844c4ffe4 100644
--- a/include/hw/arm/xlnx-versal.h
+++ b/include/hw/arm/xlnx-versal.h
@@ -119,4 +119,7 @@ typedef struct Versal {
#define MM_IOU_SCNTRS_SIZE 0x10000
#define MM_FPD_CRF 0xfd1a0000U
#define MM_FPD_CRF_SIZE 0x140000
+
+#define MM_PMC_CRP 0xf1260000U
+#define MM_PMC_CRP_SIZE 0x10000
#endif