qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 11/36] bsd-user/x86_64: Move functions into signal.c


From: Richard Henderson
Subject: Re: [PATCH v4 11/36] bsd-user/x86_64: Move functions into signal.c
Date: Fri, 5 Nov 2021 12:25:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 11/4/21 11:18 PM, Warner Losh wrote:
Move the current inline functions into sigal.c. This will increate the
flexibility of implementation in the future.

Signed-off-by: Warner Losh<imp@bsdimp.com>
---
  bsd-user/x86_64/signal.c             | 56 +++++++++++++++++++++++++++-
  bsd-user/x86_64/target_arch_signal.h | 43 ++++-----------------
  2 files changed, 63 insertions(+), 36 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


+abi_long set_sigtramp_args(CPUX86State *env, int sig,
+                           struct target_sigframe *frame,
+                           abi_ulong frame_addr,
+                           struct target_sigaction *ka);
+abi_long get_mcontext(CPUX86State *regs, target_mcontext_t *mcp, int flags);
+abi_long set_mcontext(CPUX86State *regs, target_mcontext_t *mcp, int srflag);
+abi_long get_ucontext_sigreturn(CPUX86State *regs, abi_ulong target_sf,
+                                abi_ulong *target_uc);

with of course the same comment as for i386.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]