kpacket_gen: use constants for cmdlength
[cor.git] / arch / mips / include / asm / abi.h
blobdba7f4b6bebfaefc6605fef9faf2d4c4ed05b82c
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.
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
12 #include <linux/signal_types.h>
14 #include <asm/signal.h>
15 #include <asm/siginfo.h>
16 #include <asm/vdso.h>
18 struct mips_abi {
19 int (* const setup_frame)(void *sig_return, struct ksignal *ksig,
20 struct pt_regs *regs, sigset_t *set);
21 int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig,
22 struct pt_regs *regs, sigset_t *set);
23 const unsigned long restart;
25 unsigned off_sc_fpregs;
26 unsigned off_sc_fpc_csr;
27 unsigned off_sc_used_math;
29 struct mips_vdso_image *vdso;
32 #endif /* _ASM_ABI_H */