Re: [Qemu-devel] [PATCH 2/2] target-arm/arm-semi.c: Fix SYS_HEAPINFO for 64-bit guests

2016-06-24 Thread Peter Maydell
On 24 June 2016 at 17:09, Laurent Desnogues wrote: > On Fri, Jun 24, 2016 at 5:49 PM, Peter Maydell > wrote: >> SYS_HEAPINFO is one of the few semihosting calls which has to write >> values back into a parameter block in memory. When we added >> support for 64-bit semihosting we updated the cod

Re: [Qemu-devel] [PATCH 2/2] target-arm/arm-semi.c: Fix SYS_HEAPINFO for 64-bit guests

2016-06-24 Thread Laurent Desnogues
On Fri, Jun 24, 2016 at 5:49 PM, Peter Maydell wrote: > SYS_HEAPINFO is one of the few semihosting calls which has to write > values back into a parameter block in memory. When we added > support for 64-bit semihosting we updated the code which reads from > the parameter block to read 64-bit word

[Qemu-devel] [PATCH 2/2] target-arm/arm-semi.c: Fix SYS_HEAPINFO for 64-bit guests

2016-06-24 Thread Peter Maydell
SYS_HEAPINFO is one of the few semihosting calls which has to write values back into a parameter block in memory. When we added support for 64-bit semihosting we updated the code which reads from the parameter block to read 64-bit words but forgot to change the code that writes back into the block