[Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread y
From: Aurelien Jarno aurel...@aurel32.net lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses leXX_to_cpu() the other uses nothing. As the comment above the RAM declaration says: Script ram is stored as 32-bit words in host byteorder., remove the leXX_to_cpu() calls. This fixes the

Re: [Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread Stefan Hajnoczi
On Fri, Jan 7, 2011 at 2:43 PM, y...@volta.aurel32.net wrote: From: Aurelien Jarno aurel...@aurel32.net lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses leXX_to_cpu() the other uses nothing. As the comment above the RAM declaration says: Script ram is stored as 32-bit words

Re: [Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread Aurelien Jarno
On Fri, Jan 07, 2011 at 04:21:29PM +, Stefan Hajnoczi wrote: On Fri, Jan 7, 2011 at 2:43 PM, y...@volta.aurel32.net wrote: From: Aurelien Jarno aurel...@aurel32.net lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses leXX_to_cpu() the other uses nothing. As the comment