xref: /linux/arch/sh/include/cpu-common/cpu/sigcontext.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_CPU_SH2_SIGCONTEXT_H
3 #define __ASM_CPU_SH2_SIGCONTEXT_H
4 
5 struct sigcontext {
6 	unsigned long	oldmask;
7 
8 	/* CPU registers */
9 	unsigned long sc_regs[16];
10 	unsigned long sc_pc;
11 	unsigned long sc_pr;
12 	unsigned long sc_sr;
13 	unsigned long sc_gbr;
14 	unsigned long sc_mach;
15 	unsigned long sc_macl;
16 };
17 
18 #endif /* __ASM_CPU_SH2_SIGCONTEXT_H */
19