mbox series

[v4,00/16] linux-user: Split do_syscall

Message ID 20180818190118.12911-1-richard.henderson@linaro.org
Headers show
Series linux-user: Split do_syscall | expand

Message

Richard Henderson Aug. 18, 2018, 7:01 p.m. UTC
Version 4 continues the split into multiple files, but for
inclusion rather than separate compilation.  This allows us
to get warnings if there are mistakes in the switch statement
that looks up the structures.


r~


Richard Henderson (16):
  linux-user: Remove DEBUG
  linux-user: Split out do_syscall1
  linux-user: Relax single exit from "break"
  linux-user: Propagate goto efault to return
  linux-user: Propagate goto unimplemented_nowarn to return
  linux-user: Propagate goto unimplemented to default
  linux-user: Propagate goto fail to return
  configure: Use -Wunused-const-variable
  linux-user: Setup split syscall infrastructure
  linux-user: Split out some simple file syscalls
  linux-user: Split out preadv, pwritev, readv, writev
  linux-user: Split out pread64, pwrite64
  linux-user: Split out name_to_handle_at, open_by_handle_at
  linux-user: Split out ipc syscalls
  linux-user: Split out memory syscalls
  linux-user: Split out some process syscalls

 linux-user/syscall.h          |  200 ++
 linux-user/strace.c           |  629 +++--
 linux-user/syscall-file.inc.c |  678 ++++++
 linux-user/syscall-ipc.inc.c  | 1085 +++++++++
 linux-user/syscall-mem.inc.c  |  185 ++
 linux-user/syscall-proc.inc.c |  909 ++++++++
 linux-user/syscall.c          | 4060 +++++++--------------------------
 configure                     |    4 +-
 linux-user/strace.list        |  261 ---
 9 files changed, 4127 insertions(+), 3884 deletions(-)
 create mode 100644 linux-user/syscall.h
 create mode 100644 linux-user/syscall-file.inc.c
 create mode 100644 linux-user/syscall-ipc.inc.c
 create mode 100644 linux-user/syscall-mem.inc.c
 create mode 100644 linux-user/syscall-proc.inc.c

-- 
2.17.1

Comments

Laurent Vivier Aug. 21, 2018, 5:33 p.m. UTC | #1
Le 18/08/2018 à 21:01, Richard Henderson a écrit :
> Version 4 continues the split into multiple files, but for

> inclusion rather than separate compilation.  This allows us

> to get warnings if there are mistakes in the switch statement

> that looks up the structures.

> 

> 

> r~

> 

> 

> Richard Henderson (16):

>   linux-user: Remove DEBUG

>   linux-user: Split out do_syscall1

>   linux-user: Relax single exit from "break"

>   linux-user: Propagate goto efault to return

>   linux-user: Propagate goto unimplemented_nowarn to return

>   linux-user: Propagate goto unimplemented to default

>   linux-user: Propagate goto fail to return

...

Richard,

if you want I can include patches 1 to 7 in my next pull request, this
will avoid you to rebase them for every new version of the series.

Thanks,
Laurent
Richard Henderson Aug. 21, 2018, 5:36 p.m. UTC | #2
On 08/21/2018 10:33 AM, Laurent Vivier wrote:
> if you want I can include patches 1 to 7 in my next pull request, this

> will avoid you to rebase them for every new version of the series.


That would be great, thanks.


r~