All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Petar Jovanovic <petar.jovanovic@rt-rk.com>
Cc: peter.maydell@linaro.org, riku.voipio@linaro.org,
	qemu-devel@nongnu.org, petar.jovanovic@imgtec.com,
	afaerber@suse.de, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH v3 1/2] linux-user: create target_structsheader to place ipc_perm and shmid_dss
Date: Mon, 04 Nov 2013 16:46:24 +0000	[thread overview]
Message-ID: <p1ppqg868v.fsf@linaro.org> (raw)
In-Reply-To: <1383140792-111139-1-git-send-email-petar.jovanovic@rt-rk.com>


petar.jovanovic@rt-rk.com writes:

> From: Petar Jovanovic <petar.jovanovic@imgtec.com>
>
> Creating target_structs header in linux-user/$arch/ and making
> target_ipc_perm and target_shmid_ds its first inhabitants.
> The struct defintions may/should be further fine-tuned by arch maintainers.
>
> Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
> ---
> v3:
> - add GNU licence to the new header files.
>
> v2:
> - target_struct headers have been created and the patch has been split into
>   two separate patches.
>
>  linux-user/aarch64/target_structs.h    |   58 ++++++++++++++++++++++++
>  linux-user/alpha/target_structs.h      |   48 ++++++++++++++++++++
>  linux-user/arm/target_structs.h        |   52 ++++++++++++++++++++++
>  linux-user/cris/target_structs.h       |   58 ++++++++++++++++++++++++
>  linux-user/i386/target_structs.h       |   58 ++++++++++++++++++++++++
>  linux-user/m68k/target_structs.h       |   58 ++++++++++++++++++++++++
>  linux-user/microblaze/target_structs.h |   58 ++++++++++++++++++++++++
>  linux-user/mips/target_structs.h       |   48 ++++++++++++++++++++
>  linux-user/mips64/target_cpu.h         |   18 ++++++++
>  linux-user/mips64/target_structs.h     |    2 +
>  linux-user/openrisc/target_structs.h   |   58 ++++++++++++++++++++++++
>  linux-user/ppc/target_structs.h        |   60 +++++++++++++++++++++++++
>  linux-user/qemu.h                      |    1 +
>  linux-user/s390x/target_structs.h      |   63 ++++++++++++++++++++++++++
>  linux-user/sh4/target_structs.h        |   58 ++++++++++++++++++++++++
>  linux-user/sparc/target_structs.h      |   63 ++++++++++++++++++++++++++
>  linux-user/sparc64/target_structs.h    |   58 ++++++++++++++++++++++++
>  linux-user/syscall.c                   |   76 ++++++++++++--------------------
>  linux-user/unicore32/target_structs.h  |   58 ++++++++++++++++++++++++
>  linux-user/x86_64/target_structs.h     |   58 ++++++++++++++++++++++++
>  20 files changed, 963 insertions(+), 48 deletions(-)
<snip>

There is an awful lot of similarity between a lot of the structures
while not being totally identical. Given the syscall munging is common
is there not an argument for having a common header for this case?

-- 
Alex Bennée

  parent reply	other threads:[~2013-11-04 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 13:46 [Qemu-devel] [PATCH v3 1/2] linux-user: create target_structs header to place ipc_perm and shmid_ds Petar Jovanovic
2013-10-30 13:46 ` [Qemu-devel] [PATCH v3 2/2] linux-user: pass correct parameter to do_shmctl() Petar Jovanovic
2013-11-04 16:46 ` Alex Bennée [this message]
2013-11-04 18:55   ` [Qemu-devel] [PATCH v3 1/2] linux-user: create target_structsheader to place ipc_perm and shmid_dss Petar Jovanovic
2013-11-04 19:11     ` Peter Maydell
2013-11-05 14:46     ` Alex Bennée
2013-11-05 14:57       ` Peter Maydell
2013-11-06 20:04       ` Petar Jovanovic
2013-11-12 15:40         ` Petar Jovanovic
2013-11-19 23:03           ` Petar Jovanovic

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=p1ppqg868v.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=afaerber@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=petar.jovanovic@imgtec.com \
    --cc=petar.jovanovic@rt-rk.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.