summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.cc
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2018-02-15 09:55:20 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2018-02-20 13:30:02 +0000
commit38a1e23c3910aa10c41478ba1715f50c4b4a8ac2 (patch)
treef3b78e8a49fb46e1b99246cc8976c08382804215 /src/cpu/thread_context.cc
parent73dcf05f633b5e3a7d9a16338a64c1832ef38388 (diff)
downloadgem5-38a1e23c3910aa10c41478ba1715f50c4b4a8ac2.tar.xz
arch-arm: Make hlt64 a mem barrier with semihosting
The HLT instruction is used to trap into semihosting. The semihosting code can change the contents of memory behind the back of the CPU, which requires instructions triggering semihosting to be non-speculative and memory barriers. Change-Id: I735166251aa194120ad49c08082d4ac65fe96524 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/8373 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/thread_context.cc')
0 files changed, 0 insertions, 0 deletions