Commit 89353a790bbc336cd1a5029e2d3c9df6a82845af
1 parent
7ebab699
Byte swapping bug in arm semihosting (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1553 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/arm-semi.c
... | ... | @@ -178,7 +178,7 @@ uint32_t do_arm_semihosting(CPUState *env) |
178 | 178 | ts->heap_limit = limit; |
179 | 179 | } |
180 | 180 | |
181 | - ptr = (uint32_t *)tswap32(ARG(0)); | |
181 | + ptr = (uint32_t *)ARG(0); | |
182 | 182 | ptr[0] = tswap32(ts->heap_base); |
183 | 183 | ptr[1] = tswap32(ts->heap_limit); |
184 | 184 | ptr[2] = tswap32(ts->stack_base); | ... | ... |