qemu-e2k/linux-user
Richard Henderson 62724cc5eb linux-user: Use memcpy in get_user/put_user.
When host and target have differing alignment rules, using a cast
and direct memory operation can result in SIGBUS.  Use memcpy instead,
which the compiler will happily optimize when alignment is satisfied.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2012-09-21 22:02:15 +02:00
..
2012-03-14 22:20:24 +01:00
2012-08-14 20:26:55 +01:00
2010-10-05 13:53:56 -05:00
2009-07-01 18:24:44 +00:00