479badc364
There is no reason we can't make the saved fp registers the same for all m68k types and ColdFire. There is a little wasted space, but the code consistency and cleanliness is a big win. sigcontext.h is an exported header, but currently there is no in-mainline users of the !__uClinux__ and __mcoldfire__ case that this change effects. Even better this change actually makes this structure consistent with the out-of-mainline ColdFire/MMU code. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
24 lines
564 B
C
24 lines
564 B
C
#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;
|
|
#ifdef __uClinux__
|
|
unsigned long sc_a5;
|
|
#endif
|
|
unsigned short sc_sr;
|
|
unsigned long sc_pc;
|
|
unsigned short sc_formatvec;
|
|
#ifndef __uClinux__
|
|
unsigned long sc_fpregs[2*3]; /* room for two fp registers */
|
|
unsigned long sc_fpcntl[3];
|
|
unsigned char sc_fpstate[216];
|
|
#endif
|
|
};
|
|
|
|
#endif
|