arch-arm: Add SECURE_RD/WR flags to miscRegInfo
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 10 Nov 2020 15:01:47 +0000 (15:01 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 25 Nov 2020 10:51:14 +0000 (10:51 +0000)
commit7ad2f0e519352b3972a5d25ba457755310de4731
treec7bc80d71329035b4e81cfd7b0c618b5114dea99
parent8351953016f52cd57276cd5782ab585ca9288ea5
arch-arm: Add SECURE_RD/WR flags to miscRegInfo

The introduction of Secure EL2 in gem5 requires the introduction
of new miscReg flags as there are some EL2 registers which are
accessible from secure mode only

Change-Id: Ib1f0633ed23ea2364670d37c1fefd345ab2363ae
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37615
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa.hh
src/arch/arm/miscregs.cc
src/arch/arm/miscregs.hh