1 #ifndef _ASM_METAG_SIGCONTEXT_H
2 #define _ASM_METAG_SIGCONTEXT_H
4 #include <asm/ptrace.h>
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.
13 struct user_gp_regs regs; /* needs to be first */
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.
21 struct user_cb_regs cb;
24 * Read pipeline state. This will get restored on sigreturn.
26 struct user_rp_state rp;
28 unsigned long oldmask;