xref: /openbmc/linux/arch/mips/include/asm/abi.h (revision 8fa5723aa7e053d498336b48448b292fc2e0458b)
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
7  * Copyright (C) 2005 MIPS Technologies, Inc.
8  */
9 #ifndef _ASM_ABI_H
10 #define _ASM_ABI_H
11 
12 #include <asm/signal.h>
13 #include <asm/siginfo.h>
14 
15 struct mips_abi {
16 	int (* const setup_frame)(struct k_sigaction * ka,
17 	                          struct pt_regs *regs, int signr,
18 	                          sigset_t *set);
19 	int (* const setup_rt_frame)(struct k_sigaction * ka,
20 	                       struct pt_regs *regs, int signr,
21 	                       sigset_t *set, siginfo_t *info);
22 	const unsigned long	restart;
23 };
24 
25 #endif /* _ASM_ABI_H */
26