diff options
author | 2014-03-28 15:29:47 +0000 | |
---|---|---|
committer | 2014-05-12 10:03:04 -0700 | |
commit | 4387345a962284c77435a9644d528d2356adecc5 (patch) | |
tree | 7f87db3e24c4a169ad573472dd9413cf88ed1a5a /scripts/qapi-visit.py | |
parent | exec-all.h: Use stl_p to avoid undefined behaviour patching x86 jumps (diff) | |
download | qemu-4387345a962284c77435a9644d528d2356adecc5.tar.xz qemu-4387345a962284c77435a9644d528d2356adecc5.zip |
tcg: Avoid stores to unaligned addresses
Avoid stores to unaligned addresses in TCG code generation, by using the
usual memcpy() approach. (Using bswap.h would drag a lot of QEMU baggage
into TCG, so it's simpler just to do direct memcpy() here.)
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions