diff options
author | Sergey Fedorov <serge.fdrv@gmail.com> | 2016-04-22 19:08:46 +0300 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-05-12 14:06:40 -1000 |
commit | 399f1648573d49b9411089e4e2ea62b6357b166e (patch) | |
tree | b11495d97aab8616980103f3648f6599a1f15944 /target-m68k | |
parent | 76442a939ef8fc062b35a890a824de203bb5bd5f (diff) |
tcg/ppc: Make direct jump patching thread-safe
Ensure direct jump patching in PPC is atomic by:
* limiting translation buffer size in 32-bit mode to be addressable by
Branch I-form instruction;
* using atomic_read()/atomic_set() for code patching.
Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <1461341333-19646-5-git-send-email-sergey.fedorov@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions