blob: 1320eaa4cc2aab4b531a565c57ab62afb30bd0ec [file] [log] [blame]
Greg Ungerera05ef462009-03-16 18:00:25 +10001#ifndef _ASM_M68k_SIGCONTEXT_H
2#define _ASM_M68k_SIGCONTEXT_H
3
4struct 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;
Sam Ravnborg49148022009-01-16 21:58:10 +100011#ifdef __uClinux__
Greg Ungerera05ef462009-03-16 18:00:25 +100012 unsigned long sc_a5;
13#endif
14 unsigned short sc_sr;
15 unsigned long sc_pc;
16 unsigned short sc_formatvec;
17#ifndef __uClinux__
Maxim Kuvyrkov00ebfe582009-09-23 01:22:43 +040018# ifdef __mcoldfire__
19 unsigned long sc_fpregs[2][2]; /* room for two fp registers */
20 unsigned long sc_fpcntl[3];
21 unsigned char sc_fpstate[16+6*8];
22# else
Greg Ungerera05ef462009-03-16 18:00:25 +100023 unsigned long sc_fpregs[2*3]; /* room for two fp registers */
24 unsigned long sc_fpcntl[3];
25 unsigned char sc_fpstate[216];
Maxim Kuvyrkov00ebfe582009-09-23 01:22:43 +040026# endif
Greg Ungerera05ef462009-03-16 18:00:25 +100027#endif
28};
29
Sam Ravnborg49148022009-01-16 21:58:10 +100030#endif