summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorSergey Fedorov2016-04-22 18:08:47 +0200
committerRichard Henderson2016-05-13 02:06:41 +0200
commit0d07abf05e98903c7faf204a9a90f7d45b7554dc (patch)
tree1090615eecc65e59f17b1f236b47495aaecf728e /include/exec/user
parenttcg/ppc: Make direct jump patching thread-safe (diff)
downloadqemu-0d07abf05e98903c7faf204a9a90f7d45b7554dc.tar.gz
qemu-0d07abf05e98903c7faf204a9a90f7d45b7554dc.tar.xz
qemu-0d07abf05e98903c7faf204a9a90f7d45b7554dc.zip
tcg/i386: Make direct jump patching thread-safe
Ensure direct jump patching in i386 is atomic by: * naturally aligning a location of direct jump address; * using atomic_read()/atomic_set() for code patching. tcg_out_nopn() implementation: Suggested-by: Richard Henderson <rth@twiddle.net>. Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com> Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org> Message-Id: <1461341333-19646-6-git-send-email-sergey.fedorov@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions