Re: [PATCH 07/16] bsd-user: Move system call include to os-syscall.h

2023-04-10 Thread Richard Henderson
On 4/10/23 10:12, Warner Losh wrote: On Sat, Apr 8, 2023 at 1:08 PM Richard Henderson > wrote: On 4/5/23 14:36, Warner Losh wrote: > @@ -98,11 +75,9 @@ struct target_iovec { >    * sys/timex.h >    */ > > -typedef abi_long targ

Re: [PATCH 07/16] bsd-user: Move system call include to os-syscall.h

2023-04-10 Thread Warner Losh
On Sat, Apr 8, 2023 at 1:08 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 4/5/23 14:36, Warner Losh wrote: > > @@ -98,11 +75,9 @@ struct target_iovec { > >* sys/timex.h > >*/ > > > > -typedef abi_long target_freebsd_suseconds_t; > > - > > /* compare to sys/timespec.h *

Re: [PATCH 07/16] bsd-user: Move system call include to os-syscall.h

2023-04-08 Thread Richard Henderson
On 4/5/23 14:36, Warner Losh wrote: @@ -98,11 +75,9 @@ struct target_iovec { * sys/timex.h */ -typedef abi_long target_freebsd_suseconds_t; - /* compare to sys/timespec.h */ struct target_freebsd_timespec { -target_freebsd_time_t tv_sec; /* seconds */ +target_time_t

[PATCH 07/16] bsd-user: Move system call include to os-syscall.h

2023-04-05 Thread Warner Losh
Move the include of the system calls to os-syscall.h. Include that from syscall_defs.h. Use target_time_t and target_suseconds_t instead of the variant that has _freebsd_ in the name. Define these for OpenBSD and NetBSD based on comments in the file. Signed-off-by: Warner Losh --- bsd-user/freeb