On 11/16/21 12:02, Richard Henderson wrote: > From: Warner Losh <i...@bsdimp.com> > > FreeBSD system calls return positive errno. On the 4 hosts for > which we have support, error is indicated by the C bit set or clear. > > Signed-off-by: Warner Losh <i...@bsdimp.com> > [rth: Rebase on new safe_syscall_base api; add #error check.] > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > common-user/host/aarch64/safe-syscall.inc.S | 12 +++++++++++- > common-user/host/arm/safe-syscall.inc.S | 11 +++++++++++
Can we split this in 2 patches? > common-user/host/i386/safe-syscall.inc.S | 10 ++++++++++ > common-user/host/x86_64/safe-syscall.inc.S | 10 ++++++++++ > 4 files changed, 42 insertions(+), 1 deletion(-)