On 4 December 2015 at 12:28, Paolo Bonzini <pbonz...@redhat.com> 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 <pbonz...@redhat.com>

I have applied this to target-arm.next with a tweaked
commit message:

arm: explicitly mark device loads as little-endian

Behaviour of emulated devices should not depend on the endianness
of the CPU, so avoid using the endian-dependent load and store
functions in the PXA2xx and OMAP display devices. These devices
are little endian when they do DMA access.

(Since ARM softmmu is always compiled as little endian, this means
that the endian-dependent load and store functions are always little
endian, so this commit makes no functionally visible change.)

thanks
-- PMM

Reply via email to