Commit | Line | Data |
---|---|---|
e50c0a8f RB |
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 | * | |
7b3e2fc8 | 6 | * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org) |
e50c0a8f RB |
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 { | |
d814c28c | 16 | int (* const setup_frame)(void *sig_return, struct k_sigaction *ka, |
70342287 RB |
17 | struct pt_regs *regs, int signr, |
18 | sigset_t *set); | |
d814c28c DD |
19 | const unsigned long signal_return_offset; |
20 | int (* const setup_rt_frame)(void *sig_return, struct k_sigaction *ka, | |
70342287 RB |
21 | struct pt_regs *regs, int signr, |
22 | sigset_t *set, siginfo_t *info); | |
d814c28c | 23 | const unsigned long rt_signal_return_offset; |
151fd6ac | 24 | const unsigned long restart; |
e50c0a8f RB |
25 | }; |
26 | ||
27 | #endif /* _ASM_ABI_H */ |