qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Paul Brook <paul@codesourcery.com>
Cc: Riku Voipio <riku.voipio@iki.fi>,
	qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] Merge mips64 and mipsn32
Date: Fri, 10 Feb 2012 23:47:15 +0100	[thread overview]
Message-ID: <4F359E73.4000703@suse.de> (raw)
In-Reply-To: <1328873011-25793-1-git-send-email-paul@codesourcery.com>

Am 10.02.2012 12:23, schrieb Paul Brook:
> Make MIPS N32 be a variant of mips64, rather than a new architecture in
> its own right.  This matches how sparc/ppc work, and makes TARGET_MIPS64
> the right thing to check for a 64-bit mips core.
> 
> As side-effect of this is that linux-user/mipsn32 gets merged into
> linux-user/mips64.  I consider this to be a feature as anything differences
> other than the syscall numbers are probably bugs.
> 
> Signed-off-by: Paul Brook <paul@codesourcery.com>
> ---
>  configure                          |    3 +-
>  linux-user/mips64/syscall.h        |   14 +-
>  linux-user/mips64/syscall_nr.h     |  312 +-----------------------------------
>  linux-user/mips64/syscall_nr32.h   |  311 +++++++++++++++++++++++++++++++++++
>  linux-user/mips64/syscall_nr64.h   |  306 +++++++++++++++++++++++++++++++++++
>  linux-user/mipsn32/syscall.h       |  224 --------------------------
>  linux-user/mipsn32/syscall_nr.h    |  311 -----------------------------------
>  linux-user/mipsn32/target_signal.h |   29 ----
>  linux-user/mipsn32/termbits.h      |  245 ----------------------------
>  linux-user/syscall_defs.h          |   79 +---------
>  10 files changed, 636 insertions(+), 1198 deletions(-)
>  create mode 100644 linux-user/mips64/syscall_nr32.h
>  create mode 100644 linux-user/mips64/syscall_nr64.h
>  delete mode 100644 linux-user/mipsn32/syscall.h
>  delete mode 100644 linux-user/mipsn32/syscall_nr.h
>  delete mode 100644 linux-user/mipsn32/target_signal.h
>  delete mode 100644 linux-user/mipsn32/termbits.h

Note: Richard Henderson and me had been looking into code sharing among
the MIPS ABIs for signal handling in response to a half-done Octeon
mips64 patchset.

There's an unfinished RFC of mine from December or so, feel free to pick
that up or to come up with a better idea!

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2012-02-10 22:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10 11:23 [Qemu-devel] [PATCH] Merge mips64 and mipsn32 Paul Brook
2012-02-10 22:47 ` Andreas Färber [this message]
2012-02-10 23:16   ` Paul Brook

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=4F359E73.4000703@suse.de \
    --to=afaerber@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=rth@twiddle.net \
    /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).