Re: [PATCH 12/12] linux-user: Extract target errno related functions to 'target_errno.h'

2021-07-06 Thread Richard Henderson
On 7/4/21 11:37 AM, Philippe Mathieu-Daudé wrote: Extract target errno related functions to a new 'target_errno.h' header, so we can do the host <-> target errno conversion out of the big syscall.c (which is already 13k LoC). Signed-off-by: Philippe Mathieu-Daudé --- linux-user/target_errno.h

RE: [PATCH 12/12] linux-user: Extract target errno related functions to 'target_errno.h'

2021-07-05 Thread Taylor Simpson
t; ; Philippe Mathieu-Daudé ; > Aurelien Jarno ; Helge Deller > Subject: [PATCH 12/12] linux-user: Extract target errno related functions to > 'target_errno.h' > > diff --git a/linux-user/target_errno.h b/linux-user/target_errno.h new file > mode 100644 index 000..4e5e9d

[PATCH 12/12] linux-user: Extract target errno related functions to 'target_errno.h'

2021-07-04 Thread Philippe Mathieu-Daudé
Extract target errno related functions to a new 'target_errno.h' header, so we can do the host <-> target errno conversion out of the big syscall.c (which is already 13k LoC). Signed-off-by: Philippe Mathieu-Daudé --- linux-user/target_errno.h | 32 +++ linux-user/syscall.c | 162 +