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
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
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 +