From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Alistair Francis <alistair.francis@wdc.com>,
Taylor Simpson <tsimpson@quicinc.com>,
Riku Voipio <riku.voipio@iki.fi>,
Richard Henderson <richard.henderson@linaro.org>,
Laurent Vivier <laurent@vivier.eu>
Subject: [PATCH v3 0/4] linux-user: generate syscall_nr.h from linux unistd.h
Date: Mon, 16 Mar 2020 09:56:16 +0100 [thread overview]
Message-ID: <20200316085620.309769-1-laurent@vivier.eu> (raw)
This series adds a script to generate syscall_nr.h for
architectures that don't use syscall.tbl but asm-generic/unistd.h
The script uses several cpp passes and filters result with a grep/sed/tr sequence.
The result must be checked before being used, so it's why the script is not
automatically run.
I have run the script, checked and added new files for arm64, nios2, openrisc.
I don't include result for riscv as Alistair is already working on a series
for this architecture and it needs some changes in syscall.c as some
syscalls are not defined.
We also need to add the _time64 variant of syscalls added by the update of the
syscall_nr.h.
Based-on: <20200310103403.3284090-1-laurent@vivier.eu>
v3: remove useless upper command
v2: add comments suggested by Taylor
Laurent Vivier (4):
scripts: add a script to generate syscall_nr.h
linux-user, aarch64: sync syscall numbers with kernel v5.5
linux-user,nios2: sync syscall numbers with kernel v5.5
linux-user, openrisc: sync syscall numbers with kernel v5.5
linux-user/aarch64/syscall_nr.h | 34 +-
linux-user/nios2/syscall_nr.h | 650 +++++++++++++++----------------
linux-user/openrisc/syscall_nr.h | 309 +++------------
scripts/gensyscalls.sh | 102 +++++
4 files changed, 513 insertions(+), 582 deletions(-)
create mode 100755 scripts/gensyscalls.sh
--
2.24.1
next reply other threads:[~2020-03-16 10:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-16 8:56 Laurent Vivier [this message]
2020-03-16 8:56 ` [PATCH v3 1/4] scripts: add a script to generate syscall_nr.h Laurent Vivier
2020-03-16 16:21 ` Taylor Simpson
2020-03-16 16:45 ` Laurent Vivier
2020-03-16 19:27 ` Taylor Simpson
2020-03-16 20:20 ` Laurent Vivier
2020-03-16 8:56 ` [PATCH v3 2/4] linux-user, aarch64: sync syscall numbers with kernel v5.5 Laurent Vivier
2020-03-16 8:56 ` [PATCH v3 3/4] linux-user, nios2: " Laurent Vivier
2020-03-16 8:56 ` [PATCH v3 4/4] linux-user, openrisc: " Laurent Vivier
2020-03-16 10:55 ` [PATCH v3 0/4] linux-user: generate syscall_nr.h from linux unistd.h no-reply
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=20200316085620.309769-1-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=alistair.francis@wdc.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=riku.voipio@iki.fi \
--cc=tsimpson@quicinc.com \
/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).