summaryrefslogtreecommitdiff
path: root/util/host-utils.c
diff options
context:
space:
mode:
authorSergey Fedorov <serge.fdrv@gmail.com>2016-04-22 19:08:47 +0300
committerRichard Henderson <rth@twiddle.net>2016-05-12 14:06:41 -1000
commit0d07abf05e98903c7faf204a9a90f7d45b7554dc (patch)
tree1090615eecc65e59f17b1f236b47495aaecf728e /util/host-utils.c
parent399f1648573d49b9411089e4e2ea62b6357b166e (diff)
downloadqemu-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 'util/host-utils.c')
0 files changed, 0 insertions, 0 deletions