1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASMAXP_SIGCONTEXT_H
3 #define _ASMAXP_SIGCONTEXT_H
4 
5 struct sigcontext {
6 	/*
7 	 * What should we have here? I'd probably better use the same
8 	 * stack layout as OSF/1, just in case we ever want to try
9 	 * running their binaries..
10 	 *
11 	 * This is the basic layout, but I don't know if we'll ever
12 	 * actually fill in all the values..
13 	 */
14 	 long		sc_onstack;
15 	 long		sc_mask;
16 	 long		sc_pc;
17 	 long		sc_ps;
18 	 long		sc_regs[32];
19 	 long		sc_ownedfp;
20 	 long		sc_fpregs[32];
21 	 unsigned long	sc_fpcr;
22 	 unsigned long	sc_fp_control;
23 	 unsigned long	sc_reserved1, sc_reserved2;
24 	 unsigned long	sc_ssize;
25 	 char *		sc_sbase;
26 	 unsigned long	sc_traparg_a0;
27 	 unsigned long	sc_traparg_a1;
28 	 unsigned long	sc_traparg_a2;
29 	 unsigned long	sc_fp_trap_pc;
30 	 unsigned long	sc_fp_trigger_sum;
31 	 unsigned long	sc_fp_trigger_inst;
32 };
33 
34 
35 #endif
36