Re: [Qemu-devel] [PATCH] Avoid CPU endian memory accesses in devices

2011-07-20 Thread Blue Swirl
On Fri, Jul 15, 2011 at 12:56 AM, Alexander Graf wrote: > > > > > Am 14.07.2011 um 21:34 schrieb Blue Swirl : > >> Don't compile virtio.c in hwlib, it depends on memory accesses >> performed in CPU endianness. >> >> Make loads and stores in CPU endianness unavailable to devices >> and poison them

Re: [Qemu-devel] [PATCH] Avoid CPU endian memory accesses in devices

2011-07-15 Thread Alexander Graf
On 07/15/2011 10:02 PM, Blue Swirl wrote: On Fri, Jul 15, 2011 at 12:56 AM, Alexander Graf wrote: Am 14.07.2011 um 21:34 schrieb Blue Swirl: Don't compile virtio.c in hwlib, it depends on memory accesses performed in CPU endianness. Make loads and stores in CPU endianness unavailable to d

Re: [Qemu-devel] [PATCH] Avoid CPU endian memory accesses in devices

2011-07-15 Thread Blue Swirl
On Fri, Jul 15, 2011 at 12:56 AM, Alexander Graf wrote: > > > > > Am 14.07.2011 um 21:34 schrieb Blue Swirl : > >> Don't compile virtio.c in hwlib, it depends on memory accesses >> performed in CPU endianness. >> >> Make loads and stores in CPU endianness unavailable to devices >> and poison them

Re: [Qemu-devel] [PATCH] Avoid CPU endian memory accesses in devices

2011-07-14 Thread Alexander Graf
Am 14.07.2011 um 21:34 schrieb Blue Swirl : > Don't compile virtio.c in hwlib, it depends on memory accesses > performed in CPU endianness. > > Make loads and stores in CPU endianness unavailable to devices > and poison them to avoid further bugs. Very nice :). Couldn't test execute it, but: