diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-06-16 18:17:24 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-27 16:39:56 +0100 |
commit | 4071887b58defdb09e15359dd493475c3b2578d8 (patch) | |
tree | 17107d74af2ad695f688f3c3bd653609ddead69f /gdbstub.c | |
parent | 6960bfca3a325b4cc1bb6fcc3d537071776cf3fd (diff) | |
download | qemu-4071887b58defdb09e15359dd493475c3b2578d8.zip qemu-4071887b58defdb09e15359dd493475c3b2578d8.tar.gz qemu-4071887b58defdb09e15359dd493475c3b2578d8.tar.bz2 |
hw/net/rocker: Don't use *_to_cpup()
Don't use *_to_cpup() to do byte-swapped loads; instead use
ld*_p() which correctly handle misaligned accesses.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Dmitry Fleytman <dmitry@daynix.com <mailto:dmitry@daynix.com>>
Message-id: 1466097446-981-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions