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>
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user