more debug output
[linux-2.4.git] / include / asm-cris / sigcontext.h
1 #ifndef _ASM_CRIS_SIGCONTEXT_H
2 #define _ASM_CRIS_SIGCONTEXT_H
3
4 #include <asm/ptrace.h>
5
6 /* This struct is saved by setup_frame in signal.c, to keep the current context
7    while a signal handler is executed. It's restored by sys_sigreturn.
8
9    To keep things simple, we use pt_regs here even though normally you just
10    specify the list of regs to save. Then we can use copy_from_user on the
11    entire regs instead of a bunch of get_user's as well...
12
13 */
14
15 struct sigcontext {
16         struct pt_regs regs;  /* needs to be first */
17         unsigned long oldmask;
18         unsigned long usp;    /* usp before stacking this gunk on it */
19 };
20
21 #endif