Skip to content
Snippets Groups Projects
Commit 89353a79 authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

Byte swapping bug in arm semihosting (Paul Brook)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1553 c046a42c-6fe2-441c-8c8c-71466251a162
parent 7ebab699
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment