arch-arm: Add have_crypto System parameter
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 17 May 2018 16:07:16 +0000 (17:07 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 9 Oct 2018 09:12:48 +0000 (09:12 +0000)
commit34975af0971a58eb30e8ee6c8459ddd5af00a39b
tree26cba5cb6161a05d79462e673ead5d33c3633594
parent8cbb5318234aa7a4ed6f803ed6ffa5d577e28a68
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>
src/arch/arm/ArmSystem.py
src/arch/arm/isa.cc
src/arch/arm/isa.hh
src/arch/arm/system.cc
src/arch/arm/system.hh