From: Giacomo Travaglini Date: Thu, 30 Nov 2017 13:35:05 +0000 (+0000) Subject: arm: Change access permission in TPIDRURO and TPIDRURW X-Git-Tag: v19.0.0.0~2446 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b1704094c3949ac91074bc61c0381b74ba53135;p=gem5.git 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 Reviewed-by: Andreas Sandberg Reviewed-by: Chuan Zhu Reviewed-on: https://gem5-review.googlesource.com/6381 Maintainer: Andreas Sandberg --- 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 miscRegInfo[NUM_MISCREGS] = { // MISCREG_TPIDRURW_NS bitset(string("11001111111111100001")), // MISCREG_TPIDRURW_S - bitset(string("00110011000000100001")), + bitset(string("00110011001100100001")), // MISCREG_TPIDRURO bitset(string("00000000000000010001")), // MISCREG_TPIDRURO_NS bitset(string("11001111110101100001")), // MISCREG_TPIDRURO_S - bitset(string("00110011000000100001")), + bitset(string("00110011000100100001")), // MISCREG_TPIDRPRW bitset(string("00000000000000010001")), // MISCREG_TPIDRPRW_NS