summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2017-11-30 13:35:05 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2017-12-08 18:23:09 +0000
commit5b1704094c3949ac91074bc61c0381b74ba53135 (patch)
treebf8b979acc704ebc5a73f98caa39d15ee7f4ff55
parentbd7eadb4670458044c7628dc67d94d50c3f7593d (diff)
downloadgem5-5b1704094c3949ac91074bc61c0381b74ba53135.tar.xz
arm: Change access permission in TPIDRURO and TPIDRURW
This patch corrects the TPIDRURO and TPIDRURW access flags: TPIDRURO is now readable in secure user mode, an TPIDRURW is readable and writable in secure user mode. Change-Id: I6293d9a3bcc7adc0f655bf98d29aca51eca5a002 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Chuan Zhu <chuan.zhu@arm.com> Reviewed-on: https://gem5-review.googlesource.com/6381 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r--src/arch/arm/miscregs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc
index 826e56726..ece552439 100644
--- a/src/arch/arm/miscregs.cc
+++ b/src/arch/arm/miscregs.cc
@@ -686,13 +686,13 @@ bitset<NUM_MISCREG_INFOS> miscRegInfo[NUM_MISCREGS] = {
// MISCREG_TPIDRURW_NS
bitset<NUM_MISCREG_INFOS>(string("11001111111111100001")),
// MISCREG_TPIDRURW_S
- bitset<NUM_MISCREG_INFOS>(string("00110011000000100001")),
+ bitset<NUM_MISCREG_INFOS>(string("00110011001100100001")),
// MISCREG_TPIDRURO
bitset<NUM_MISCREG_INFOS>(string("00000000000000010001")),
// MISCREG_TPIDRURO_NS
bitset<NUM_MISCREG_INFOS>(string("11001111110101100001")),
// MISCREG_TPIDRURO_S
- bitset<NUM_MISCREG_INFOS>(string("00110011000000100001")),
+ bitset<NUM_MISCREG_INFOS>(string("00110011000100100001")),
// MISCREG_TPIDRPRW
bitset<NUM_MISCREG_INFOS>(string("00000000000000010001")),
// MISCREG_TPIDRPRW_NS