Re: [Qemu-devel] [PATCH 0/9] Don't use ld./st._phys in hw/

2011-07-05 Thread Blue Swirl
On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote: > We have quite some code in hw/ that uses ld./st._phys functions > in device emulation code. This is just pure wrong, as devices > don't know about the CPU endianness (except for virtio), so they > should instead use something endian specific.

[Qemu-devel] [PATCH 0/9] Don't use ld./st._phys in hw/

2011-07-05 Thread Alexander Graf
We have quite some code in hw/ that uses ld./st._phys functions in device emulation code. This is just pure wrong, as devices don't know about the CPU endianness (except for virtio), so they should instead use something endian specific. Unfortunately, there is no endian specific call to easily rec