From afc9a8b6b543abbf75a891a64e8a92f3df267ad0 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 27 May 2015 19:29:07 -0400 Subject: define ucontext_t for the 64-bit midipix target. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- arch/nt64/bits/signal.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/nt64/bits/signal.h b/arch/nt64/bits/signal.h index bbc0f41..d06e9ff 100644 --- a/arch/nt64/bits/signal.h +++ b/arch/nt64/bits/signal.h @@ -17,12 +17,18 @@ struct sigaltstack { }; typedef struct __ucontext { - unsigned long uc_flags; - struct __ucontext *uc_link; - stack_t uc_stack; - mcontext_t uc_mcontext; - sigset_t uc_sigmask; - unsigned long __fpregs_mem[64]; + unsigned int uc_csize; + unsigned int uc_msize; + unsigned int uc_pad[2]; + unsigned long uc_flags; + unsigned long uc_opaquef[3]; + unsigned int uc_opaquec[8]; + unsigned long uc_reserved[32]; + unsigned long uc_align[2]; + stack_t uc_stack; + struct __ucontext * uc_link; + sigset_t uc_sigmask; + mcontext_t uc_mcontext; } ucontext_t; #define SA_NOCLDSTOP 1 -- cgit v1.2.3