qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/15] exec: introduce endianness swapped mmio


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH 01/15] exec: introduce endianness swapped mmio
Date: Sun, 28 Nov 2010 10:12:38 +0200

On Thu, Nov 25, 2010 at 08:35:41AM +0100, Alexander Graf wrote:
> The way we're currently modeling mmio is too simplified. We assume that
> every device has the same endianness as the target CPU. In reality,
> most devices are little endian (all PCI and ISA ones I'm aware of). Some
> are big endian (special system devices) and a very little fraction is
> target native endian (fw_cfg).
> 
As far as I can see fw_cfg calls cpu_to_le() on some of entries and
doesn't on others. Doesn't this makes it "mixed endian" (aka broken)?

--
                        Gleb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]