diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-12 23:32:40 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-12 23:32:40 +0000 |
commit | c69e3264c3553697077f88571829face4e673100 (patch) | |
tree | 4fd011642d9380867ee7233374a1b3d92fb6f500 /feature_to_c.sh | |
parent | f71903d020667ae704cf803d0cd64f80c879c6d0 (diff) |
SH4: Fix swap.b
The SH4 manual documents the swap.b instruction as follows:
SWAP.B Rm,Rn
Rm → swap lower 2 bytes → Rn
Current QEMU code, in addition to the above, also clears the high
16 bits. The immediate breakage I saw is that htonl function applied
to netmask of 255.255.255.0 gives 0, which breaks all networking.
(Vladimir Prus)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5471 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'feature_to_c.sh')
0 files changed, 0 insertions, 0 deletions