qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] linux-user: target <-> host errno conversion code refactor
@ 2021-07-08 17:05 Philippe Mathieu-Daudé
  2021-07-08 17:05 ` [PATCH v3 1/8] linux-user/syscall: Fix RF-kill errno (typo in ERFKILL) Philippe Mathieu-Daudé
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-07-08 17:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Laurent Vivier, Philippe Mathieu-Daudé

Hi,

This series extract code related to target errno conversion
(to/from host) into a separate header.

Since v2:
- addressed Richard / Laurent review comments
Since v1:
- addressed Taylor / Richard / Laurent review comments

Based-on: <20210708100756.212085-1-laurent@vivier.eu>

Philippe Mathieu-Daudé (8):
  linux-user/syscall: Fix RF-kill errno (typo in ERFKILL)
  linux-user/sparc: Rename target_errno.h -> target_errno_defs.h
  linux-user: Extract target errno to 'target_errno_defs.h'
  linux-user/alpha: Move errno definitions to 'target_errno_defs.h'
  linux-user/hppa: Move errno definitions to 'target_errno_defs.h'
  linux-user/mips: Move errno definitions to 'target_errno_defs.h'
  linux-user: Simplify host <-> target errno conversion using macros
  linux-user/syscall: Remove ERRNO_TABLE_SIZE check

 linux-user/aarch64/target_errno_defs.h        |   7 +
 linux-user/alpha/target_errno_defs.h          | 204 ++++++++++++++++
 linux-user/alpha/target_syscall.h             | 194 ---------------
 linux-user/arm/target_errno_defs.h            |   7 +
 linux-user/cris/target_errno_defs.h           |   7 +
 .../target_errno_defs.h}                      |   4 +-
 linux-user/hexagon/target_errno_defs.h        |   7 +
 linux-user/hppa/target_errno_defs.h           | 220 +++++++++++++++++
 linux-user/hppa/target_syscall.h              | 210 -----------------
 linux-user/i386/target_errno_defs.h           |   7 +
 linux-user/m68k/target_errno_defs.h           |   7 +
 linux-user/microblaze/target_errno_defs.h     |   7 +
 linux-user/mips/target_errno_defs.h           | 221 ++++++++++++++++++
 linux-user/mips/target_syscall.h              | 211 -----------------
 linux-user/mips64/target_errno_defs.h         |  10 +
 linux-user/mips64/target_syscall.h            | 211 -----------------
 linux-user/nios2/target_errno_defs.h          |   7 +
 linux-user/openrisc/target_errno_defs.h       |   7 +
 linux-user/ppc/target_errno_defs.h            |   7 +
 linux-user/riscv/target_errno_defs.h          |   7 +
 linux-user/s390x/target_errno_defs.h          |   7 +
 linux-user/sh4/target_errno_defs.h            |   7 +
 .../{target_errno.h => target_errno_defs.h}   |  11 +-
 linux-user/sparc/target_syscall.h             |   2 -
 linux-user/syscall_defs.h                     |   2 +-
 linux-user/x86_64/target_errno_defs.h         |   7 +
 linux-user/xtensa/target_errno_defs.h         |   7 +
 linux-user/syscall.c                          | 164 ++-----------
 linux-user/errnos.c.inc                       | 140 +++++++++++
 linux-user/safe-syscall.S                     |   2 +-
 30 files changed, 926 insertions(+), 985 deletions(-)
 create mode 100644 linux-user/aarch64/target_errno_defs.h
 create mode 100644 linux-user/alpha/target_errno_defs.h
 create mode 100644 linux-user/arm/target_errno_defs.h
 create mode 100644 linux-user/cris/target_errno_defs.h
 rename linux-user/{errno_defs.h => generic/target_errno_defs.h} (99%)
 create mode 100644 linux-user/hexagon/target_errno_defs.h
 create mode 100644 linux-user/hppa/target_errno_defs.h
 create mode 100644 linux-user/i386/target_errno_defs.h
 create mode 100644 linux-user/m68k/target_errno_defs.h
 create mode 100644 linux-user/microblaze/target_errno_defs.h
 create mode 100644 linux-user/mips/target_errno_defs.h
 create mode 100644 linux-user/mips64/target_errno_defs.h
 create mode 100644 linux-user/nios2/target_errno_defs.h
 create mode 100644 linux-user/openrisc/target_errno_defs.h
 create mode 100644 linux-user/ppc/target_errno_defs.h
 create mode 100644 linux-user/riscv/target_errno_defs.h
 create mode 100644 linux-user/s390x/target_errno_defs.h
 create mode 100644 linux-user/sh4/target_errno_defs.h
 rename linux-user/sparc/{target_errno.h => target_errno_defs.h} (97%)
 create mode 100644 linux-user/x86_64/target_errno_defs.h
 create mode 100644 linux-user/xtensa/target_errno_defs.h
 create mode 100644 linux-user/errnos.c.inc

-- 
2.31.1



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

end of thread, other threads:[~2021-07-12 19:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-08 17:05 [PATCH v3 0/8] linux-user: target <-> host errno conversion code refactor Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 1/8] linux-user/syscall: Fix RF-kill errno (typo in ERFKILL) Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 2/8] linux-user/sparc: Rename target_errno.h -> target_errno_defs.h Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 3/8] linux-user: Extract target errno to 'target_errno_defs.h' Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 4/8] linux-user/alpha: Move errno definitions " Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 5/8] linux-user/hppa: " Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 6/8] linux-user/mips: " Philippe Mathieu-Daudé
2021-07-08 17:05 ` [PATCH v3 7/8] linux-user: Simplify host <-> target errno conversion using macros Philippe Mathieu-Daudé
2021-07-08 17:11   ` Richard Henderson
2021-07-08 17:33   ` Laurent Vivier
2021-07-08 17:05 ` [PATCH v3 8/8] linux-user/syscall: Remove ERRNO_TABLE_SIZE check Philippe Mathieu-Daudé
2021-07-08 17:12   ` Richard Henderson
2021-07-08 17:34   ` Laurent Vivier
2021-07-12 19:54 ` [PATCH v3 0/8] linux-user: target <-> host errno conversion code refactor Laurent Vivier

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