Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-15 Thread J. Mayer
On Mon, 2007-10-15 at 19:02 +0300, Blue Swirl wrote: > On 10/15/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sun, 2007-10-14 at 15:59 +0300, Blue Swirl wrote: > > > On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > Here's an updated version of the patch against current CVS. > > > > This pa

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-15 Thread Blue Swirl
On 10/15/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > On 10/15/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sun, 2007-10-14 at 15:59 +0300, Blue Swirl wrote: > > > On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > Here's an updated version of the patch against current CVS. > > > > This patc

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-15 Thread J. Mayer
On Sun, 2007-10-14 at 15:59 +0300, Blue Swirl wrote: > On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > Here's an updated version of the patch against current CVS. > > This patches provides reverse-endian, little-endian and big-endian > > memory accessors, available with and without softmmu. It

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-15 Thread J. Mayer
On Sun, 2007-10-14 at 14:22 +0100, Thiemo Seufer wrote: > J. Mayer wrote: > [snip] > > > > Here's a new version. The only change is that, for consistency, I did > > > > add the big-endian and little-endian accessors that were documented in > > > > cpu-all.h as unimplemented. The implementation is q

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-14 Thread Thiemo Seufer
J. Mayer wrote: [snip] > > > Here's a new version. The only change is that, for consistency, I did > > > add the big-endian and little-endian accessors that were documented in > > > cpu-all.h as unimplemented. The implementation is quite trivial, having > > > native and reverse-endian accessors ava

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-14 Thread Blue Swirl
On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > Here's an updated version of the patch against current CVS. > This patches provides reverse-endian, little-endian and big-endian > memory accessors, available with and without softmmu. It also provides > an IO_MEM_REVERSE TLB flag to allow future s

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-14 Thread J. Mayer
On Sun, 2007-10-14 at 11:19 +0300, Blue Swirl wrote: > On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-10-13 at 16:17 +0200, J. Mayer wrote: > > > On Sat, 2007-10-13 at 16:07 +0300, Blue Swirl wrote: > > > > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 2007-1

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-14 Thread Blue Swirl
On 10/14/07, J. Mayer <[EMAIL PROTECTED]> wrote: > On Sat, 2007-10-13 at 16:17 +0200, J. Mayer wrote: > > On Sat, 2007-10-13 at 16:07 +0300, Blue Swirl wrote: > > > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-10-13 at 13:47 +0300, Blue Swirl wrote: > > > > > On 10/13/07, J

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-13 Thread Thiemo Seufer
J. Mayer wrote: > On Sat, 2007-10-13 at 16:17 +0200, J. Mayer wrote: > > On Sat, 2007-10-13 at 16:07 +0300, Blue Swirl wrote: > > > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-10-13 at 13:47 +0300, Blue Swirl wrote: > > > > > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-13 Thread Blue Swirl
On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > On Sat, 2007-10-13 at 13:47 +0300, Blue Swirl wrote: > > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > The problem: > > > some CPU architectures, namely PowerPC and maybe others, offers > > > facilities to access the memory or I/O in the r

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-13 Thread Thiemo Seufer
Blue Swirl wrote: > On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > The problem: > > some CPU architectures, namely PowerPC and maybe others, offers > > facilities to access the memory or I/O in the reverse endianness, ie > > little-endian instead of big-endian for PowerPC, or provide instruct

Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors

2007-10-13 Thread Blue Swirl
On 10/13/07, J. Mayer <[EMAIL PROTECTED]> wrote: > The problem: > some CPU architectures, namely PowerPC and maybe others, offers > facilities to access the memory or I/O in the reverse endianness, ie > little-endian instead of big-endian for PowerPC, or provide instruction > to make memory accesse