summaryrefslogtreecommitdiff
path: root/src/arch/generic/debugfaults.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-04-28 11:08:32 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-05-09 09:24:12 +0000
commit699773a867d1095790cce38744d9b2c38a1f551e (patch)
tree21dba452bf538f3dc8e4e4d1d87b396a971dccb8 /src/arch/generic/debugfaults.hh
parent708258aba60cfeb092b11c2aa6bb867dce233d47 (diff)
downloadgem5-699773a867d1095790cce38744d9b2c38a1f551e.tar.xz
kvm, arm: Fix incorrect PSTATE sync
The state transfer code wasn't reading back PSTATE correctly from the CPU prior to updating the thread context and was incorreclty writing the register as a 32-bit value when updating KVM. Correctly read back the state before updating gem5's view of PSTATE and cast the value to a uint64_t. Change-Id: I0a6ff5b77b897c756b20a20f65c420f42386360f Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/2963 Reviewed-by: Rahul Thakur <rjthakur@google.com>
Diffstat (limited to 'src/arch/generic/debugfaults.hh')
0 files changed, 0 insertions, 0 deletions