diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-03-27 16:22:31 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-04-06 09:58:41 +0000 |
commit | 96bba0c50cda359b23365e3cb3a3f295796b06e4 (patch) | |
tree | af2a15f7121cfe9848b1c8d11b44668d111959cc /src/cpu/base.hh | |
parent | 0fa5ed40c471429318c967833592aee0bd361dea (diff) | |
download | gem5-96bba0c50cda359b23365e3cb3a3f295796b06e4.tar.xz |
arch-arm: Fix secure write of SCTLR when EL3 is AArch64
MiscRegisters are not banked between secure and non-secure mode if EL3
is not implemented or if EL3 is using AArch64 (highestELIs64). In this
scenario a unique register is used and it is mapped to the NS version
(see snsBankedIndex implementation), so that a secure world read/write
should access the non secure storage.
Change-Id: Ica4182e3cdf4021d2bd1db23e477ce2bbf055926
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9502
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/base.hh')
0 files changed, 0 insertions, 0 deletions