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) 1996, 1997, 1999 by Ralf Baechle
0007  * Copyright (C) 1999 Silicon Graphics, Inc.
0008  */
0009 #ifndef _ASM_SIGCONTEXT_H
0010 #define _ASM_SIGCONTEXT_H
0011 
0012 #include <uapi/asm/sigcontext.h>
0013 
0014 #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
0015 
0016 struct sigcontext32 {
0017     __u32       sc_regmask; /* Unused */
0018     __u32       sc_status;  /* Unused */
0019     __u64       sc_pc;
0020     __u64       sc_regs[32];
0021     __u64       sc_fpregs[32];
0022     __u32       sc_acx;     /* Only MIPS32; was sc_ownedfp */
0023     __u32       sc_fpc_csr;
0024     __u32       sc_fpc_eir; /* Unused */
0025     __u32       sc_used_math;
0026     __u32       sc_dsp;     /* dsp status, was sc_ssflags */
0027     __u64       sc_mdhi;
0028     __u64       sc_mdlo;
0029     __u32       sc_hi1;     /* Was sc_cause */
0030     __u32       sc_lo1;     /* Was sc_badvaddr */
0031     __u32       sc_hi2;     /* Was sc_sigset[4] */
0032     __u32       sc_lo2;
0033     __u32       sc_hi3;
0034     __u32       sc_lo3;
0035 };
0036 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
0037 #endif /* _ASM_SIGCONTEXT_H */