Ralf Baechle | e50c0a8 | 2005-05-31 11:49:19 +0000 | [diff] [blame] | 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 | * |
Ralf Baechle | 7b3e2fc | 2006-02-08 12:58:41 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org) |
Ralf Baechle | e50c0a8 | 2005-05-31 11:49:19 +0000 | [diff] [blame] | 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 { |
Richard Weinberger | 81d103b | 2013-10-06 22:25:42 +0200 | [diff] [blame] | 16 | int (* const setup_frame)(void *sig_return, struct ksignal *ksig, |
| 17 | struct pt_regs *regs, sigset_t *set); |
David Daney | d814c28 | 2010-02-18 16:13:05 -0800 | [diff] [blame] | 18 | const unsigned long signal_return_offset; |
Richard Weinberger | 81d103b | 2013-10-06 22:25:42 +0200 | [diff] [blame] | 19 | int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig, |
| 20 | struct pt_regs *regs, sigset_t *set); |
David Daney | d814c28 | 2010-02-18 16:13:05 -0800 | [diff] [blame] | 21 | const unsigned long rt_signal_return_offset; |
Ralf Baechle | 151fd6a | 2007-02-15 11:40:37 +0000 | [diff] [blame] | 22 | const unsigned long restart; |
Paul Burton | 7785610 | 2015-07-27 12:58:14 -0700 | [diff] [blame] | 23 | |
| 24 | unsigned off_sc_fpregs; |
| 25 | unsigned off_sc_fpc_csr; |
| 26 | unsigned off_sc_used_math; |
Ralf Baechle | e50c0a8 | 2005-05-31 11:49:19 +0000 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | #endif /* _ASM_ABI_H */ |