diff options
author | Chuan Zhu <chuan.zhu@arm.com> | 2018-01-02 16:14:33 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-02-16 09:21:41 +0000 |
commit | cf58af7cf2402a280d6789797a9bc956209bdc30 (patch) | |
tree | 6b7197e7a63a20d5b8c05095ffd1a42447759cf8 /src/sim/byteswap.hh | |
parent | 8da5e6b8b6fc1665edefffdf36c0aa7b9d53370d (diff) | |
download | gem5-cf58af7cf2402a280d6789797a9bc956209bdc30.tar.xz |
arch-arm: Fix Secure state check in checkFPAdvSIMDTrap64
The old code does secure state check by using "el <= EL2", which
mis-considers secure EL1 and EL0. This patch fixes this by using
inSecureState as in ARM ARM.
Change-Id: I01d847c6af022c1462b16206cbc576f15f5569fd
Reviewed-by: Jack Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8081
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/sim/byteswap.hh')
0 files changed, 0 insertions, 0 deletions