Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / metag / include / uapi / asm / sigcontext.h
1 #ifndef _ASM_METAG_SIGCONTEXT_H
2 #define _ASM_METAG_SIGCONTEXT_H
3
4 #include <asm/ptrace.h>
5
6 /*
7  * In a sigcontext structure we need to store the active state of the
8  * user process so that it does not get trashed when we call the signal
9  * handler. That not really the same as a user context that we are
10  * going to store on syscall etc.
11  */
12 struct sigcontext {
13         struct user_gp_regs regs;       /* needs to be first */
14
15         /*
16          * Catch registers describing a memory fault.
17          * If USER_GP_REGS_STATUS_CATCH_BIT is set in regs.status then catch
18          * buffers have been saved and will be replayed on sigreturn.
19          * Clear that bit to discard the catch state instead of replaying it.
20          */
21         struct user_cb_regs cb;
22
23         /*
24          * Read pipeline state. This will get restored on sigreturn.
25          */
26         struct user_rp_state rp;
27
28         unsigned long oldmask;
29 };
30
31 #endif