[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/8] linux-user: target <-> host errno conversion code ref
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v3 0/8] linux-user: target <-> host errno conversion code refactor |
Date: |
Mon, 12 Jul 2021 21:54:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Le 08/07/2021 à 19:05, Philippe Mathieu-Daudé a écrit :
> 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
>
Series applied to my linux-user-for-6.1 branch.
Thanks,
Laurent
- [PATCH v3 3/8] linux-user: Extract target errno to 'target_errno_defs.h', (continued)
- [PATCH v3 3/8] linux-user: Extract target errno to 'target_errno_defs.h', Philippe Mathieu-Daudé, 2021/07/08
- [PATCH v3 4/8] linux-user/alpha: Move errno definitions to 'target_errno_defs.h', Philippe Mathieu-Daudé, 2021/07/08
- [PATCH v3 5/8] linux-user/hppa: Move errno definitions to 'target_errno_defs.h', Philippe Mathieu-Daudé, 2021/07/08
- [PATCH v3 6/8] linux-user/mips: Move errno definitions to 'target_errno_defs.h', Philippe Mathieu-Daudé, 2021/07/08
- [PATCH v3 7/8] linux-user: Simplify host <-> target errno conversion using macros, Philippe Mathieu-Daudé, 2021/07/08
- [PATCH v3 8/8] linux-user/syscall: Remove ERRNO_TABLE_SIZE check, Philippe Mathieu-Daudé, 2021/07/08
- Re: [PATCH v3 0/8] linux-user: target <-> host errno conversion code refactor,
Laurent Vivier <=