Greg Ungerer | a05ef46 | 2009-03-16 18:00:25 +1000 | [diff] [blame] | 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; |
Sam Ravnborg | 4914802 | 2009-01-16 21:58:10 +1000 | [diff] [blame] | 11 | #ifdef __uClinux__ |
Greg Ungerer | a05ef46 | 2009-03-16 18:00:25 +1000 | [diff] [blame] | 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 | unsigned long sc_fpregs[2*3]; /* room for two fp registers */ |
| 19 | unsigned long sc_fpcntl[3]; |
| 20 | unsigned char sc_fpstate[216]; |
| 21 | #endif |
| 22 | }; |
| 23 | |
Sam Ravnborg | 4914802 | 2009-01-16 21:58:10 +1000 | [diff] [blame] | 24 | #endif |