qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Doug Kwan <dougkwan@google.com>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: riku.voipio@iki.fi, Doug Kwan <dougkwan@google.com>, agraf@suse.de
Subject: [Qemu-devel] [PATCH 0/3] Adding new user mode target ppc64el-linux-user
Date: Thu,  8 May 2014 01:26:40 -0700	[thread overview]
Message-ID: <1399537603-6905-1-git-send-email-dougkwan@google.com> (raw)

Hi

This is a series of 3 patches to add a new target for little-endian
PPC64 linux user mode.  This first patch is for loading PPC64 ELFv2 binaries.
The second patch is the biggest and it contains changes to set up the
LE environment and handle byteswapping appropriately.  The third patch
contains the necessary configuration changes for the new target.

This is tested briefly by running big-endian and little-endian Linux
binaries in user mode.  I also booted the QEMU ppc linux test image though
it is 32-bit only.

-Doug

Doug Kwan (3):
  linux-user: Handle ELFv2 PPC64 binaries in user mode.
  PPC: Allow little-endian user mode.
  configure: Add new target ppc64el-linux-user

 configure                              |  6 +++++
 default-configs/ppc64el-linux-user.mak |  1 +
 include/elf.h                          |  5 ++++
 linux-user/elfload.c                   | 17 +++++++++++--
 target-ppc/mem_helper.c                | 16 ++++++++++--
 target-ppc/translate.c                 | 45 ++++++++++++++++++++++------------
 target-ppc/translate_init.c            |  9 +++++++
 7 files changed, 80 insertions(+), 19 deletions(-)
 create mode 100644 default-configs/ppc64el-linux-user.mak

-- 
1.9.1.423.g4596e3a

             reply	other threads:[~2014-05-08  8:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08  8:26 Doug Kwan [this message]
2014-05-08  8:26 ` [Qemu-devel] [PATCH 1/3] linux-user: Handle ELFv2 PPC64 binaries in user mode Doug Kwan
2014-05-08  8:36   ` Alexander Graf
2014-05-08  8:43     ` Doug Kwan (關振德)
2014-05-08  8:45       ` Alexander Graf
2014-05-08 13:30       ` Ulrich Weigand
2014-05-08  8:26 ` [Qemu-devel] [PATCH 2/3] PPC: Allow little-endian " Doug Kwan
2014-05-08  8:39   ` Alexander Graf
2014-05-08  8:49     ` Doug Kwan (關振德)
2014-05-08  8:55       ` Alexander Graf
2014-05-08  9:05         ` Doug Kwan (關振德)
2014-05-08  9:11           ` Alexander Graf
2014-05-08  9:24             ` Doug Kwan (關振德)
2014-05-08 12:39     ` Peter Maydell
2014-05-08 12:44       ` Alexander Graf
2014-05-08  8:26 ` [Qemu-devel] [PATCH 3/3] configure: Add new target ppc64el-linux-user Doug Kwan
2014-05-08  8:41   ` Alexander Graf
2014-05-08  8:46     ` Doug Kwan (關振德)
2014-05-08  8:56       ` Alexander Graf
2014-05-08  9:09         ` Doug Kwan (關振德)
2014-05-08 12:18   ` Andreas Färber
2014-05-08 12:28     ` Peter Maydell
2014-05-08 12:45       ` Alexander Graf
2014-05-08 15:57       ` Doug Kwan (關振德)
2014-05-08 14:41   ` Tom Musta
2014-05-08 15:19     ` Doug Kwan (關振德)
2014-05-08 15:25       ` Peter Maydell
2014-05-08 15:32         ` Doug Kwan (關振德)
2014-05-08 15:41           ` Peter Maydell
2014-05-08 15:51             ` Doug Kwan (關振德)
2014-05-08 15:56               ` Peter Maydell
2014-05-08 15:39         ` Tom Musta
2014-05-08 15:43           ` Peter Maydell

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=1399537603-6905-1-git-send-email-dougkwan@google.com \
    --to=dougkwan@google.com \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /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).