summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorPeter Maydell2014-03-28 16:29:47 +0100
committerRichard Henderson2014-05-12 19:03:04 +0200
commit4387345a962284c77435a9644d528d2356adecc5 (patch)
tree7f87db3e24c4a169ad573472dd9413cf88ed1a5a /include/exec/memory.h
parentexec-all.h: Use stl_p to avoid undefined behaviour patching x86 jumps (diff)
downloadqemu-4387345a962284c77435a9644d528d2356adecc5.tar.gz
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 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions