summaryrefslogtreecommitdiff
path: root/src/arch/arm/ArmSystem.py
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2018-05-17 17:07:16 +0100
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2018-10-09 09:12:48 +0000
commit34975af0971a58eb30e8ee6c8459ddd5af00a39b (patch)
tree26cba5cb6161a05d79462e673ead5d33c3633594 /src/arch/arm/ArmSystem.py
parent8cbb5318234aa7a4ed6f803ed6ffa5d577e28a68 (diff)
downloadgem5-34975af0971a58eb30e8ee6c8459ddd5af00a39b.tar.xz
arch-arm: Add have_crypto System parameter
This patch adds the have_crypto ArmSystem parameter for enabling crypto extension. This is done by modifying the AArch32/AArch64 ID registers at startup time. Change-Id: I6eefb7e6f6354802a14ea639ad53b75f8e1e11c5 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/13252 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/arm/ArmSystem.py')
-rw-r--r--src/arch/arm/ArmSystem.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py
index 1e3a8cfca..cd08d7449 100644
--- a/src/arch/arm/ArmSystem.py
+++ b/src/arch/arm/ArmSystem.py
@@ -65,6 +65,8 @@ class ArmSystem(System):
"True if Security Extensions are implemented")
have_virtualization = Param.Bool(False,
"True if Virtualization Extensions are implemented")
+ have_crypto = Param.Bool(False,
+ "True if Crypto Extensions is implemented")
have_lpae = Param.Bool(True, "True if LPAE is implemented")
highest_el_is_64 = Param.Bool(False,
"True if the register width of the highest implemented exception level "