xref: /linux/arch/mips/include/asm/abi.h (revision e6d930b4)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
3384740dcSRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
4384740dcSRalf Baechle  * for more details.
5384740dcSRalf Baechle  *
6384740dcSRalf Baechle  * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
7384740dcSRalf Baechle  * Copyright (C) 2005 MIPS Technologies, Inc.
8384740dcSRalf Baechle  */
9384740dcSRalf Baechle #ifndef _ASM_ABI_H
10384740dcSRalf Baechle #define _ASM_ABI_H
11384740dcSRalf Baechle 
12*e6d930b4SIngo Molnar #include <linux/signal_types.h>
13*e6d930b4SIngo Molnar 
14384740dcSRalf Baechle #include <asm/signal.h>
15384740dcSRalf Baechle #include <asm/siginfo.h>
16ebb5e78cSAlex Smith #include <asm/vdso.h>
17384740dcSRalf Baechle 
18384740dcSRalf Baechle struct mips_abi {
1981d103bfSRichard Weinberger 	int (* const setup_frame)(void *sig_return, struct ksignal *ksig,
2081d103bfSRichard Weinberger 				  struct pt_regs *regs, sigset_t *set);
2181d103bfSRichard Weinberger 	int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig,
2281d103bfSRichard Weinberger 				     struct pt_regs *regs, sigset_t *set);
23384740dcSRalf Baechle 	const unsigned long	restart;
2477856100SPaul Burton 
2577856100SPaul Burton 	unsigned	off_sc_fpregs;
2677856100SPaul Burton 	unsigned	off_sc_fpc_csr;
2777856100SPaul Burton 	unsigned	off_sc_used_math;
28ebb5e78cSAlex Smith 
29ebb5e78cSAlex Smith 	struct mips_vdso_image *vdso;
30384740dcSRalf Baechle };
31384740dcSRalf Baechle 
32384740dcSRalf Baechle #endif /* _ASM_ABI_H */
33