bsd-user/x86_64/target_arch_signal.h: use new target_os_ucontext.h
authorWarner Losh <imp@bsdimp.com>
Fri, 29 Oct 2021 15:07:02 +0000 (09:07 -0600)
committerWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 05:58:51 +0000 (22:58 -0700)
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/x86_64/target_arch_signal.h

index 55f742b0a8c2e2be1315f4c51f2ef92700c575ed..e84aff948c50e3ea8536d26b5bade772f1f1e40d 100644 (file)
 typedef struct target_mcontext {
 } target_mcontext_t;
 
-typedef struct target_ucontext {
-    target_sigset_t   uc_sigmask;
-    target_mcontext_t uc_mcontext;
-    abi_ulong         uc_link;
-    target_stack_t    uc_stack;
-    int32_t           uc_flags;
-    int32_t         __spare__[4];
-} target_ucontext_t;
+#include "target_os_ucontext.h"
 
 struct target_sigframe {
     abi_ulong   sf_signum;