Re: [Qemu-devel] [PATCH] arm: explicitly mark loads as little-endian

2015-12-15 Thread Peter Maydell
On 4 December 2015 at 12:28, Paolo Bonzini wrote: > ARM softmmu is always compiled as little endian; BE8/BE32 can be > done as part of CPU emulation. Thus, devices need not use the > endian-dependent loads and swaps. > > Signed-off-by: Paolo Bonzini I have applied this to target-arm.next with a

Re: [Qemu-devel] [PATCH] arm: explicitly mark loads as little-endian

2015-12-04 Thread Peter Maydell
On 4 December 2015 at 12:28, Paolo Bonzini wrote: > ARM softmmu is always compiled as little endian; BE8/BE32 can be > done as part of CPU emulation. Thus, devices need not use the > endian-dependent loads and swaps. The patch code is right, but I think the more significant point here is that th

[Qemu-devel] [PATCH] arm: explicitly mark loads as little-endian

2015-12-04 Thread Paolo Bonzini
ARM softmmu is always compiled as little endian; BE8/BE32 can be done as part of CPU emulation. Thus, devices need not use the endian-dependent loads and swaps. Signed-off-by: Paolo Bonzini --- hw/display/omap_lcd_template.h | 4 ++-- hw/display/pxa2xx_lcd.c| 8 2 files changed