Skip to content

Commit

Permalink
Byte swapping bug in arm semihosting (Paul Brook)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1553 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
bellard committed Aug 21, 2005
1 parent 7ebab69 commit 89353a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/arm-semi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 89353a7

Please sign in to comment.