diff options
Diffstat (limited to 'arch/m68k/include/asm/sigcontext.h')
| -rw-r--r-- | arch/m68k/include/asm/sigcontext.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/sigcontext.h b/arch/m68k/include/asm/sigcontext.h new file mode 100644 index 00000000000..a29dd74a17c --- /dev/null +++ b/arch/m68k/include/asm/sigcontext.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #ifndef _ASM_M68k_SIGCONTEXT_H | ||
| 2 | #define _ASM_M68k_SIGCONTEXT_H | ||
| 3 | |||
| 4 | struct sigcontext { | ||
| 5 | unsigned long sc_mask; /* old sigmask */ | ||
| 6 | unsigned long sc_usp; /* old user stack pointer */ | ||
| 7 | unsigned long sc_d0; | ||
| 8 | unsigned long sc_d1; | ||
| 9 | unsigned long sc_a0; | ||
| 10 | unsigned long sc_a1; | ||
| 11 | #ifdef __uClinux__ | ||
| 12 | unsigned long sc_a5; | ||
| 13 | #endif | ||
| 14 | unsigned short sc_sr; | ||
| 15 | unsigned long sc_pc; | ||
| 16 | unsigned short sc_formatvec; | ||
| 17 | #ifndef __uClinux__ | ||
| 18 | # ifdef __mcoldfire__ | ||
| 19 | unsigned long sc_fpregs[2][2]; /* room for two fp registers */ | ||
| 20 | # else | ||
| 21 | unsigned long sc_fpregs[2*3]; /* room for two fp registers */ | ||
| 22 | # endif | ||
| 23 | unsigned long sc_fpcntl[3]; | ||
| 24 | unsigned char sc_fpstate[216]; | ||
| 25 | #endif | ||
| 26 | }; | ||
| 27 | |||
| 28 | #endif | ||
