b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| 2 | #ifndef _ASM_M68k_SIGCONTEXT_H |
| 3 | #define _ASM_M68k_SIGCONTEXT_H |
| 4 | |
| 5 | struct sigcontext { |
| 6 | unsigned long sc_mask; /* old sigmask */ |
| 7 | unsigned long sc_usp; /* old user stack pointer */ |
| 8 | unsigned long sc_d0; |
| 9 | unsigned long sc_d1; |
| 10 | unsigned long sc_a0; |
| 11 | unsigned long sc_a1; |
| 12 | #ifdef __uClinux__ |
| 13 | unsigned long sc_a5; |
| 14 | #endif |
| 15 | unsigned short sc_sr; |
| 16 | unsigned long sc_pc; |
| 17 | unsigned short sc_formatvec; |
| 18 | #ifndef __uClinux__ |
| 19 | unsigned long sc_fpregs[2*3]; /* room for two fp registers */ |
| 20 | unsigned long sc_fpcntl[3]; |
| 21 | unsigned char sc_fpstate[216]; |
| 22 | #endif |
| 23 | }; |
| 24 | |
| 25 | #endif |