Peter Maydell 43120576cb hw/bt: Don't use cpu_to_*w() and *_to_cpup()
Don't use cpu_to_*w() and *_to_cpup() to do byte-swapped loads
and stores; instead use ld*_p() and st*_p() which correctly handle
misaligned accesses.

Bring the HNDL() macro into line with how we deal with
PARAMHANDLE(), by using cpu_to_le16() rather than an ifdef
HOST_WORDS_BIGENDIAN.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1467908460-27048-3-git-send-email-peter.maydell@linaro.org
2016-07-12 15:08:53 +01:00
..
2016-07-01 14:38:54 +02:00
2016-07-07 15:25:05 -03:00
2016-07-07 13:47:01 +01:00
2016-06-29 19:14:48 +01:00
2016-06-17 16:33:48 +10:00
2016-05-29 09:11:10 +02:00
2016-06-14 15:59:13 +01:00
2016-07-12 12:34:41 +01:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-05-29 09:11:10 +02:00
2016-06-24 05:13:57 +03:00
2016-07-12 12:34:41 +01:00
2016-07-07 14:29:04 +08:00
2016-07-06 10:52:03 +02:00
2016-01-29 15:07:25 +00:00
2016-07-06 10:52:04 +02:00
2016-07-07 14:29:04 +08:00
2016-06-24 05:13:57 +03:00
2016-07-04 13:15:22 +01:00
2016-07-12 12:34:41 +01:00
2016-07-12 10:47:03 +02:00
2016-07-07 14:29:04 +08:00
2016-06-22 11:28:42 +01:00
2015-12-22 18:39:19 +02:00