Re: [Qemu-devel] [PULL v4 05/12] milkymist-vgafb: swap pixel data in source buffer

2014-02-03 Thread Paolo Bonzini
Il 01/02/2014 18:57, Peter Maydell ha scritto: > In commit fc97bb5ba3e7239c0b6d24095df6784868dfebbf the lduw_raw() call was > eliminated. But we are reading from the target buffer a 16-bit value, which > is in big-endian format. Therefore, swap the bytes if we are building for a > little-endian h

Re: [Qemu-devel] [PULL v4 05/12] milkymist-vgafb: swap pixel data in source buffer

2014-02-01 Thread Peter Maydell
On 20 January 2014 19:34, Michael Walle wrote: > In commit fc97bb5ba3e7239c0b6d24095df6784868dfebbf the lduw_raw() call was > eliminated. But we are reading from the target buffer a 16-bit value, which > is in big-endian format. Therefore, swap the bytes if we are building for a > little-endian ho

[Qemu-devel] [PULL v4 05/12] milkymist-vgafb: swap pixel data in source buffer

2014-01-20 Thread Michael Walle
In commit fc97bb5ba3e7239c0b6d24095df6784868dfebbf the lduw_raw() call was eliminated. But we are reading from the target buffer a 16-bit value, which is in big-endian format. Therefore, swap the bytes if we are building for a little-endian host. Cc: Paolo Bonzini Signed-off-by: Michael Walle --