1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2f15cbe6fSPaul Mundt #ifndef __ASM_CPU_SH4_SIGCONTEXT_H 3f15cbe6fSPaul Mundt #define __ASM_CPU_SH4_SIGCONTEXT_H 4f15cbe6fSPaul Mundt 5f15cbe6fSPaul Mundt struct sigcontext { 6f15cbe6fSPaul Mundt unsigned long oldmask; 7f15cbe6fSPaul Mundt 8f15cbe6fSPaul Mundt /* CPU registers */ 9f15cbe6fSPaul Mundt unsigned long sc_regs[16]; 10f15cbe6fSPaul Mundt unsigned long sc_pc; 11f15cbe6fSPaul Mundt unsigned long sc_pr; 12f15cbe6fSPaul Mundt unsigned long sc_sr; 13f15cbe6fSPaul Mundt unsigned long sc_gbr; 14f15cbe6fSPaul Mundt unsigned long sc_mach; 15f15cbe6fSPaul Mundt unsigned long sc_macl; 16f15cbe6fSPaul Mundt 17f15cbe6fSPaul Mundt /* FPU registers */ 18f15cbe6fSPaul Mundt unsigned long sc_fpregs[16]; 19f15cbe6fSPaul Mundt unsigned long sc_xfpregs[16]; 20f15cbe6fSPaul Mundt unsigned int sc_fpscr; 21f15cbe6fSPaul Mundt unsigned int sc_fpul; 22f15cbe6fSPaul Mundt unsigned int sc_ownedfp; 23f15cbe6fSPaul Mundt }; 24f15cbe6fSPaul Mundt 25f15cbe6fSPaul Mundt #endif /* __ASM_CPU_SH4_SIGCONTEXT_H */ 26