2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1996, 1997, 1999 by Ralf Baechle
|
|
|
|
* Copyright (C) 1999 Silicon Graphics, Inc.
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_SIGCONTEXT_H
|
|
|
|
#define _ASM_SIGCONTEXT_H
|
|
|
|
|
2012-10-09 08:47:14 +00:00
|
|
|
#include <uapi/asm/sigcontext.h>
|
2005-09-03 22:56:17 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
|
|
|
|
|
|
|
|
struct sigcontext32 {
|
2005-05-31 11:49:19 +00:00
|
|
|
__u32 sc_regmask; /* Unused */
|
2007-02-05 14:24:26 +00:00
|
|
|
__u32 sc_status; /* Unused */
|
2005-05-31 11:49:19 +00:00
|
|
|
__u64 sc_pc;
|
|
|
|
__u64 sc_regs[32];
|
|
|
|
__u64 sc_fpregs[32];
|
2007-02-02 16:41:47 +00:00
|
|
|
__u32 sc_acx; /* Only MIPS32; was sc_ownedfp */
|
2005-05-31 11:49:19 +00:00
|
|
|
__u32 sc_fpc_csr;
|
|
|
|
__u32 sc_fpc_eir; /* Unused */
|
|
|
|
__u32 sc_used_math;
|
|
|
|
__u32 sc_dsp; /* dsp status, was sc_ssflags */
|
|
|
|
__u64 sc_mdhi;
|
|
|
|
__u64 sc_mdlo;
|
|
|
|
__u32 sc_hi1; /* Was sc_cause */
|
|
|
|
__u32 sc_lo1; /* Was sc_badvaddr */
|
|
|
|
__u32 sc_hi2; /* Was sc_sigset[4] */
|
|
|
|
__u32 sc_lo2;
|
|
|
|
__u32 sc_hi3;
|
|
|
|
__u32 sc_lo3;
|
2005-04-16 22:20:36 +00:00
|
|
|
};
|
|
|
|
#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
|
|
|
|
#endif /* _ASM_SIGCONTEXT_H */
|