diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-06-16 18:17:22 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-27 16:39:56 +0100 |
commit | 4d9be25200fab72f5f0f1f20e02439ae83f0c1db (patch) | |
tree | 5ee3cb94ccfca1d1f016d713f031146dd7d5197e /include | |
parent | f12103afaa28b473515ccfcb66c2b42d6d057af0 (diff) | |
download | qemu-4d9be25200fab72f5f0f1f20e02439ae83f0c1db.zip qemu-4d9be25200fab72f5f0f1f20e02439ae83f0c1db.tar.gz qemu-4d9be25200fab72f5f0f1f20e02439ae83f0c1db.tar.bz2 |
hw/net/eepro100.c: 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.
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-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions