Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
0007  * Copyright (C) 2005 MIPS Technologies, Inc.
0008  */
0009 #ifndef _ASM_ABI_H
0010 #define _ASM_ABI_H
0011 
0012 #include <linux/signal_types.h>
0013 
0014 #include <asm/signal.h>
0015 #include <asm/siginfo.h>
0016 #include <asm/vdso.h>
0017 
0018 struct mips_abi {
0019     int (* const setup_frame)(void *sig_return, struct ksignal *ksig,
0020                   struct pt_regs *regs, sigset_t *set);
0021     int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig,
0022                      struct pt_regs *regs, sigset_t *set);
0023     const unsigned long restart;
0024 
0025     unsigned    off_sc_fpregs;
0026     unsigned    off_sc_fpc_csr;
0027     unsigned    off_sc_used_math;
0028 
0029     struct mips_vdso_image *vdso;
0030 };
0031 
0032 #endif /* _ASM_ABI_H */