summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-21 09:50:09 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-21 09:50:09 +0000
commit89353a790bbc336cd1a5029e2d3c9df6a82845af (patch)
tree7284aa2012d9716579da7a7d226fbdf1e3ecdbd3
parent7ebab6991081f9fabc207b778f0ae154190caca1 (diff)
downloadqemu-89353a790bbc336cd1a5029e2d3c9df6a82845af.tar.gz
qemu-89353a790bbc336cd1a5029e2d3c9df6a82845af.tar.bz2
qemu-89353a790bbc336cd1a5029e2d3c9df6a82845af.zip
Byte swapping bug in arm semihosting (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1553 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--linux-user/arm-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm-semi.c b/linux-user/arm-semi.c
index 6950daaa66..472361a478 100644
--- a/linux-user/arm-semi.c
+++ b/linux-user/arm-semi.c
@@ -178,7 +178,7 @@ uint32_t do_arm_semihosting(CPUState *env)
ts->heap_limit = limit;
}
- ptr = (uint32_t *)tswap32(ARG(0));
+ ptr = (uint32_t *)ARG(0);
ptr[0] = tswap32(ts->heap_base);
ptr[1] = tswap32(ts->heap_limit);
ptr[2] = tswap32(ts->stack_base);