Re: [PATCH 12/14] bsd-user/sysarch: Provide a per-arch framework for sysarch syscall

2021-09-26 Thread Warner Losh
On Sat, Sep 25, 2021 at 4:46 AM Philippe Mathieu-Daudé wrote: > Hi Warner, > > On 9/22/21 08:14, Warner Losh wrote: > > Add the missing glue to pull in do_freebsd_sysarch to call > > do_freebsd_arch_sysarch. Put it in os-sys.c, which will be used for > > sysctl and sysarch system calls because th

Re: [PATCH 12/14] bsd-user/sysarch: Provide a per-arch framework for sysarch syscall

2021-09-25 Thread Philippe Mathieu-Daudé
Hi Warner, On 9/22/21 08:14, Warner Losh wrote: Add the missing glue to pull in do_freebsd_sysarch to call do_freebsd_arch_sysarch. Put it in os-sys.c, which will be used for sysctl and sysarch system calls because they are mostly arch specific. Signed-off-by: Stacey Son Signed-off-by: Warner

Re: [PATCH 12/14] bsd-user/sysarch: Provide a per-arch framework for sysarch syscall

2021-09-24 Thread Richard Henderson
On 9/21/21 11:14 PM, Warner Losh wrote: +/* sysarch() is architecture dependent. */ +abi_long do_freebsd_sysarch(void *cpu_env, abi_long arg1, abi_long arg2) +{ + +return do_freebsd_arch_sysarch(cpu_env, arg1, arg2); +} Extra newline. Otherwise, Reviewed-by: Richard Henderson r~

[PATCH 12/14] bsd-user/sysarch: Provide a per-arch framework for sysarch syscall

2021-09-21 Thread Warner Losh
Add the missing glue to pull in do_freebsd_sysarch to call do_freebsd_arch_sysarch. Put it in os-sys.c, which will be used for sysctl and sysarch system calls because they are mostly arch specific. Signed-off-by: Stacey Son Signed-off-by: Warner Losh --- bsd-user/freebsd/meson.build | 3 +++ b