arch-arm: ELIsInHost, check VHE and SecEL2
authorAdrian Herrera <adrian.herrera@arm.com>
Fri, 29 Nov 2019 17:49:07 +0000 (17:49 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 15 Jan 2020 09:26:10 +0000 (09:26 +0000)
commit5698c2b52d756d5f11222559b75a038fea0cf52d
tree0a1da00de4bb6e244d896e92c752ef07efd136f2
parent251cbd34b82670ec8038bfee6d050f080e9b3981
arch-arm: ELIsInHost, check VHE and SecEL2

This patch modifies ELIsInHost to correctly check for VHE
and Secure EL2 implementation.

Change-Id: I947dddfc6761794493fef3d59b3b35754d07ed6b
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24046
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/utility.cc