diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-07-07 17:20:57 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2016-07-12 15:08:53 +0100 |
| commit | 43120576cb6a9db070fd300da69fe61f5e5cc281 (patch) | |
| tree | c29ccb78cff18d7dc77ab52edff3d97aa23076ef /scripts/tracetool/format/h.py | |
| parent | b442642da145cb10293f577f3b43bda8beeb31cf (diff) | |
| download | focaccia-qemu-43120576cb6a9db070fd300da69fe61f5e5cc281.tar.gz focaccia-qemu-43120576cb6a9db070fd300da69fe61f5e5cc281.zip | |
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
Diffstat (limited to 'scripts/tracetool/format/h.py')
0 files changed, 0 insertions, 0 deletions