summaryrefslogtreecommitdiffstats
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
authoraurel322008-03-13 20:18:26 +0100
committeraurel322008-03-13 20:18:26 +0100
commit6b59fc74b5b811664e4621e65b64e39c501249be (patch)
treeaea07ce586a15b8a0d5d6d3d987d3716cbbb387e /target-ppc/op_helper.c
parentrtl8139: fix endianness on big endian targets (diff)
downloadqemu-6b59fc74b5b811664e4621e65b64e39c501249be.tar.gz
qemu-6b59fc74b5b811664e4621e65b64e39c501249be.tar.xz
qemu-6b59fc74b5b811664e4621e65b64e39c501249be.zip
e1000: fix endianness issues
This patch fixes endianness issues in the e1000 nic emulation, which currently only works on little endian hosts with little endian targets. Byte swapping does not depend on host endianness, so this patch remove the use of cpu_to_le32 and le32_to_cpu functions. It depends on the path from the CPU to the device, which is currently and *wrongly* implemented in Qemu as a byteswap on big endian targets. This patch does the same as in other devices emulation as all the currently implemented targets work with this implementation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4046 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
0 files changed, 0 insertions, 0 deletions