blob: 37f84078e78abbe3f6b85841461c8bccc62d6c9a [file] [log] [blame]
Ralf Baechlee50c0a82005-05-31 11:49:19 +00001/*
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 Baechle7b3e2fc2006-02-08 12:58:41 +00006 * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
Ralf Baechlee50c0a82005-05-31 11:49:19 +00007 * 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
15struct mips_abi {
Richard Weinberger81d103b2013-10-06 22:25:42 +020016 int (* const setup_frame)(void *sig_return, struct ksignal *ksig,
17 struct pt_regs *regs, sigset_t *set);
David Daneyd814c282010-02-18 16:13:05 -080018 const unsigned long signal_return_offset;
Richard Weinberger81d103b2013-10-06 22:25:42 +020019 int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig,
20 struct pt_regs *regs, sigset_t *set);
David Daneyd814c282010-02-18 16:13:05 -080021 const unsigned long rt_signal_return_offset;
Ralf Baechle151fd6a2007-02-15 11:40:37 +000022 const unsigned long restart;
Paul Burton77856102015-07-27 12:58:14 -070023
24 unsigned off_sc_fpregs;
25 unsigned off_sc_fpc_csr;
26 unsigned off_sc_used_math;
Ralf Baechlee50c0a82005-05-31 11:49:19 +000027};
28
29#endif /* _ASM_ABI_H */