qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] linux-user: generate syscall_nr.h from linux unistd.h
@ 2020-03-14 11:39 Laurent Vivier
  2020-03-14 11:39 ` [PATCH v2 1/4] scripts: add a script to generate syscall_nr.h Laurent Vivier
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-03-14 11:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: Taylor Simpson, Riku Voipio, Alistair Francis, Laurent Vivier

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>

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-15 23:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-14 11:39 [PATCH v2 0/4] linux-user: generate syscall_nr.h from linux unistd.h Laurent Vivier
2020-03-14 11:39 ` [PATCH v2 1/4] scripts: add a script to generate syscall_nr.h Laurent Vivier
2020-03-15 23:13   ` Richard Henderson
2020-03-14 11:39 ` [PATCH v2 2/4] linux-user, aarch64: sync syscall numbers with kernel v5.5 Laurent Vivier
2020-03-15 23:03   ` Richard Henderson
2020-03-14 11:39 ` [PATCH v2 3/4] linux-user, nios2: " Laurent Vivier
2020-03-14 11:39 ` [PATCH v2 4/4] linux-user, openrisc: " Laurent Vivier
2020-03-15 23:14   ` Richard Henderson
2020-03-14 12:16 ` [PATCH v2 0/4] linux-user: generate syscall_nr.h from linux unistd.h no-reply

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).