18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 1996, 1997, 1999 by Ralf Baechle 78c2ecf20Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc. 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci#ifndef _ASM_SIGCONTEXT_H 108c2ecf20Sopenharmony_ci#define _ASM_SIGCONTEXT_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#include <uapi/asm/sigcontext.h> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cistruct sigcontext32 { 178c2ecf20Sopenharmony_ci __u32 sc_regmask; /* Unused */ 188c2ecf20Sopenharmony_ci __u32 sc_status; /* Unused */ 198c2ecf20Sopenharmony_ci __u64 sc_pc; 208c2ecf20Sopenharmony_ci __u64 sc_regs[32]; 218c2ecf20Sopenharmony_ci __u64 sc_fpregs[32]; 228c2ecf20Sopenharmony_ci __u32 sc_acx; /* Only MIPS32; was sc_ownedfp */ 238c2ecf20Sopenharmony_ci __u32 sc_fpc_csr; 248c2ecf20Sopenharmony_ci __u32 sc_fpc_eir; /* Unused */ 258c2ecf20Sopenharmony_ci __u32 sc_used_math; 268c2ecf20Sopenharmony_ci __u32 sc_dsp; /* dsp status, was sc_ssflags */ 278c2ecf20Sopenharmony_ci __u64 sc_mdhi; 288c2ecf20Sopenharmony_ci __u64 sc_mdlo; 298c2ecf20Sopenharmony_ci __u32 sc_hi1; /* Was sc_cause */ 308c2ecf20Sopenharmony_ci __u32 sc_lo1; /* Was sc_badvaddr */ 318c2ecf20Sopenharmony_ci __u32 sc_hi2; /* Was sc_sigset[4] */ 328c2ecf20Sopenharmony_ci __u32 sc_lo2; 338c2ecf20Sopenharmony_ci __u32 sc_hi3; 348c2ecf20Sopenharmony_ci __u32 sc_lo3; 358c2ecf20Sopenharmony_ci}; 368c2ecf20Sopenharmony_ci#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */ 378c2ecf20Sopenharmony_ci#endif /* _ASM_SIGCONTEXT_H */ 38