]> Git Repo - qemu.git/commit
hw/bt: Don't use cpu_to_*w() and *_to_cpup()
authorPeter Maydell <[email protected]>
Thu, 7 Jul 2016 16:20:57 +0000 (17:20 +0100)
committerPeter Maydell <[email protected]>
Tue, 12 Jul 2016 14:08:53 +0000 (15:08 +0100)
commit43120576cb6a9db070fd300da69fe61f5e5cc281
treec29ccb78cff18d7dc77ab52edff3d97aa23076ef
parentb442642da145cb10293f577f3b43bda8beeb31cf
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 1467908460[email protected]
hw/bt/hci.c
hw/bt/l2cap.c
This page took 0.027753 seconds and 4 git commands to generate.