[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 05/20] linux-user: mips: Update syscall numbers to kernel
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v5 05/20] linux-user: mips: Update syscall numbers to kernel 5.5 rc3 level |
Date: |
Tue, 14 Jan 2020 17:39:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 |
Le 13/01/2020 à 21:34, Aleksandar Markovic a écrit :
> From: Aleksandar Markovic <address@hidden>
>
> Update mips syscall numbers based on Linux kernel tag v5.5-rc3
> (commit 46cf053e).
>
> Signed-off-by: Aleksandar Markovic <address@hidden>
> ---
> linux-user/mips/cpu_loop.c | 78
> +++++++++++++++++++++++++++++++++++++++++-
> linux-user/mips/syscall_nr.h | 45 ++++++++++++++++++++++++
> linux-user/mips64/syscall_nr.h | 13 +++++++
> 3 files changed, 135 insertions(+), 1 deletion(-)
>
> diff --git a/linux-user/mips/cpu_loop.c b/linux-user/mips/cpu_loop.c
> index 39915b3..b81479b 100644
> --- a/linux-user/mips/cpu_loop.c
> +++ b/linux-user/mips/cpu_loop.c
> @@ -25,8 +25,9 @@
> #include "internal.h"
>
> # ifdef TARGET_ABI_MIPSO32
> +# define MIPS_SYSCALL_NUMBER_UNUSED -1
I'm not sure you need to introduce this change.
The case already exists (stat, fstat, old_select, lstat, ...) and the
entry that was used is:
MIPS_SYS(sys_ni_syscall , 0)
perhaps you can do the same ?
I think the do_syscall() will return -ENOSYS as the TARGET_NR_XXX is not
defined for o32 in linux-user/mips/syscall_nr.h.
Thanks,
Laurent
- [PATCH v5 00/20] linux-user: Misc patches for 5.0, Aleksandar Markovic, 2020/01/13
- [PATCH v5 04/20] linux-user: microblaze: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13
- [PATCH v5 05/20] linux-user: mips: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13
- Re: [PATCH v5 05/20] linux-user: mips: Update syscall numbers to kernel 5.5 rc3 level,
Laurent Vivier <=
- [PATCH v5 03/20] linux-user: m68k: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13
- [PATCH v5 06/20] linux-user: x86_64: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13
- [PATCH v5 07/20] linux-user: xtensa: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13
- [PATCH v5 01/20] linux-user: Fix some constants in termbits.h, Aleksandar Markovic, 2020/01/13
- [PATCH v5 02/20] linux-user: alpha: Update syscall numbers to kernel 5.5 rc3 level, Aleksandar Markovic, 2020/01/13