arch-arm: Change mcrMrc15TrapToHyp signature
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 19 Feb 2019 10:20:14 +0000 (10:20 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 23 May 2019 08:32:25 +0000 (08:32 +0000)
commit92518ec8437b422f86f7c315a83d9c2aa5fdbe1b
treef2a9e55d8e8c22bb32bc8fa8df81c97903b5391a
parentb8a4c876905d605cf180e77f7d1bb08f2ed22940
arch-arm: Change mcrMrc15TrapToHyp signature

This patch is moving MiscRegs reading inside the mcrMrc15TrapToHyp
helper function. Rather than passing registers as arguments,
we are just passing a ThreadContext pointer

Change-Id: I6636dd3a4f92f757479d8a8d2c47de050a0b9eae
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/public/gem5/+/17988
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/misc.cc
src/arch/arm/isa/insts/misc.isa
src/arch/arm/utility.cc
src/arch/arm/utility.hh