qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alberto Garcia <agarcia@igalia.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v5 1/2] Add TEWS TPCI200 IndustryPack emulation
Date: Tue, 15 Jan 2013 03:45:36 +0100	[thread overview]
Message-ID: <20130115024536.GA3514@igalia.com> (raw)
In-Reply-To: <50F07600.1070100@suse.de>

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	other threads:[~2013-01-15  2:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 17:25 [Qemu-devel] [PATCH v5 0/2] Add TPCI200 and IP-Octal 232 IndustryPack emulation Alberto Garcia
2013-01-11 17:25 ` [Qemu-devel] [PATCH v5 1/2] Add TEWS TPCI200 " Alberto Garcia
2013-01-11 20:28   ` Andreas Färber
2013-01-15  2:45     ` Alberto Garcia [this message]
2013-01-11 17:25 ` [Qemu-devel] [PATCH v5 2/2] Add GE IP-Octal 232 " Alberto Garcia
2013-01-14 20:40 ` [Qemu-devel] [PATCH v5 0/2] Add TPCI200 and " Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130115024536.GA3514@igalia.com \
    --to=agarcia@igalia.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).