Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef __ASM_CPU_SH4_SIGCONTEXT_H |
| 3 | #define __ASM_CPU_SH4_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 | /* FPU registers */ |
| 18 | unsigned long sc_fpregs[16]; |
| 19 | unsigned long sc_xfpregs[16]; |
| 20 | unsigned int sc_fpscr; |
| 21 | unsigned int sc_fpul; |
| 22 | unsigned int sc_ownedfp; |
| 23 | }; |
| 24 | |
| 25 | #endif /* __ASM_CPU_SH4_SIGCONTEXT_H */ |