arch-arm: Refactor Address Translation (AT) code
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Sun, 16 Aug 2020 16:39:37 +0000 (17:39 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 26 Aug 2020 13:56:54 +0000 (13:56 +0000)
commit10155aed36f0871ab2ab76c45c901eeda206d633
tree632ae7a06513541d5e43dfbf6735d2a8fa789beb
parent75286e0dfb69bdfb2e02ce08f4579b6d0e8f81df
arch-arm: Refactor Address Translation (AT) code

* Removed the nested switch
* Replace warn with warn_once as it's polluting the stdout

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