arch-arm: Add System register trap check for EL1
authorJordi Vaquero <jordi.vaquero@metempsy.com>
Wed, 22 Jul 2020 11:20:46 +0000 (13:20 +0200)
committerJordi Vaquero <jordi.vaquero@metempsy.com>
Thu, 23 Jul 2020 13:11:13 +0000 (13:11 +0000)
commit11e0dccbd5524dca935a4910d962055cc4ff199c
treec425f14dcde3d7c9d2cf94e38947c17af9027992
parent5fe43e8496453828cd45a2bfce74bd8c46627fe7
arch-arm: Add System register trap check for EL1

This change adds and refactors the register trap checks
for EL1 in the same function, unifying the registry trapping

Change-Id: Ief3e0a9f70cc8cd44c1c8215515f36168927362d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31694
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/misc64.cc
src/arch/arm/isa/insts/data64.isa
src/arch/arm/miscregs.cc
src/arch/arm/miscregs_types.hh