summary refs log tree commit diff stats
path: root/hw/ssi/omap_spi.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-08-03 13:15:57 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2015-09-02 13:24:13 +0100
commit26c0114d3f69c3accaf83d56ff1d850bd0213b58 (patch)
treeee9930ad4065b1dcee4109b678ef335228851ca5 /hw/ssi/omap_spi.c
parent1bf11332c4770e2750247733c713a4e771047282 (diff)
downloadfocaccia-qemu-26c0114d3f69c3accaf83d56ff1d850bd0213b58.tar.gz
focaccia-qemu-26c0114d3f69c3accaf83d56ff1d850bd0213b58.zip
rtl8139: use ldl/stl wrapper for unaligned 32-bit access
The tx offload feature accesses a 16-bit aligned TCP header struct.  The
32-bit fields must be accessed using ldl/stl wrappers since some host
architectures fault on unaligned access.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1438604157-29664-4-git-send-email-stefanha@redhat.com
Diffstat (limited to 'hw/ssi/omap_spi.c')
0 files changed, 0 insertions, 0 deletions