2009-03-16 16:00:25 +08:00
|
|
|
#ifndef _ASM_M68k_SIGCONTEXT_H
|
|
|
|
#define _ASM_M68k_SIGCONTEXT_H
|
|
|
|
|
|
|
|
struct sigcontext {
|
|
|
|
unsigned long sc_mask; /* old sigmask */
|
|
|
|
unsigned long sc_usp; /* old user stack pointer */
|
|
|
|
unsigned long sc_d0;
|
|
|
|
unsigned long sc_d1;
|
|
|
|
unsigned long sc_a0;
|
|
|
|
unsigned long sc_a1;
|
2009-01-16 19:58:10 +08:00
|
|
|
#ifdef __uClinux__
|
2009-03-16 16:00:25 +08:00
|
|
|
unsigned long sc_a5;
|
|
|
|
#endif
|
|
|
|
unsigned short sc_sr;
|
|
|
|
unsigned long sc_pc;
|
|
|
|
unsigned short sc_formatvec;
|
|
|
|
#ifndef __uClinux__
|
2009-09-23 05:22:43 +08:00
|
|
|
# ifdef __mcoldfire__
|
|
|
|
unsigned long sc_fpregs[2][2]; /* room for two fp registers */
|
|
|
|
# else
|
2009-03-16 16:00:25 +08:00
|
|
|
unsigned long sc_fpregs[2*3]; /* room for two fp registers */
|
2010-03-03 21:53:45 +08:00
|
|
|
# endif
|
2009-03-16 16:00:25 +08:00
|
|
|
unsigned long sc_fpcntl[3];
|
|
|
|
unsigned char sc_fpstate[216];
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
2009-01-16 19:58:10 +08:00
|
|
|
#endif
|