mips32 : Fixed memory byte access
authorDrasko DRASKOVIC <drasko.draskovic@gmail.com>
Mon, 25 Jul 2011 12:23:35 +0000 (14:23 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 21:17:28 +0000 (23:17 +0200)
commit827057f5608653ef721c0fef46277d3791f00adb
treefd048871983510dff74351f6b0ac35c8bd29282a
parentc18e02387b0628a9ecfc41a65af4802e8b95357e
mips32 : Fixed memory byte access

Function mips_m4k_write_memory() does endianess byte swap,
but this procedure break one byte access (temporary array
overwrites content in buffer).
As a fix, this endianess swap and buffer affecting
is preformed only on hword and word accesses (not on byte access).
src/target/mips_m4k.c