qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 1/2] Add TEWS TPCI200 IndustryPack emulation


From: Alberto Garcia
Subject: Re: [Qemu-devel] [PATCH v5 1/2] Add TEWS TPCI200 IndustryPack emulation
Date: Tue, 15 Jan 2013 03:45:36 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Jan 11, 2013 at 09:28:48PM +0100, Andreas Färber wrote:

> I do wonder if adjust_value() can be replaced by switching
> MemoryRegion endianness between DEVICE_LITTLE_ENDIAN and
> DEVICE_BIG_ENDIAN rather than having it as DEVICE_NATIVE_ENDIAN and
> doing a manual bswap16()?

Avi had actually suggested to have two memory regions with different
endianness and switch between them.

I had taken a look back then and it didn't seem to make things any
simpler due to how the TPCI200 works in big-endian mode.

Berto



reply via email to

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