18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _ASMAXP_SIGCONTEXT_H
38c2ecf20Sopenharmony_ci#define _ASMAXP_SIGCONTEXT_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cistruct sigcontext {
68c2ecf20Sopenharmony_ci	/*
78c2ecf20Sopenharmony_ci	 * What should we have here? I'd probably better use the same
88c2ecf20Sopenharmony_ci	 * stack layout as OSF/1, just in case we ever want to try
98c2ecf20Sopenharmony_ci	 * running their binaries..
108c2ecf20Sopenharmony_ci	 *
118c2ecf20Sopenharmony_ci	 * This is the basic layout, but I don't know if we'll ever
128c2ecf20Sopenharmony_ci	 * actually fill in all the values..
138c2ecf20Sopenharmony_ci	 */
148c2ecf20Sopenharmony_ci	 long		sc_onstack;
158c2ecf20Sopenharmony_ci	 long		sc_mask;
168c2ecf20Sopenharmony_ci	 long		sc_pc;
178c2ecf20Sopenharmony_ci	 long		sc_ps;
188c2ecf20Sopenharmony_ci	 long		sc_regs[32];
198c2ecf20Sopenharmony_ci	 long		sc_ownedfp;
208c2ecf20Sopenharmony_ci	 long		sc_fpregs[32];
218c2ecf20Sopenharmony_ci	 unsigned long	sc_fpcr;
228c2ecf20Sopenharmony_ci	 unsigned long	sc_fp_control;
238c2ecf20Sopenharmony_ci	 unsigned long	sc_reserved1, sc_reserved2;
248c2ecf20Sopenharmony_ci	 unsigned long	sc_ssize;
258c2ecf20Sopenharmony_ci	 char *		sc_sbase;
268c2ecf20Sopenharmony_ci	 unsigned long	sc_traparg_a0;
278c2ecf20Sopenharmony_ci	 unsigned long	sc_traparg_a1;
288c2ecf20Sopenharmony_ci	 unsigned long	sc_traparg_a2;
298c2ecf20Sopenharmony_ci	 unsigned long	sc_fp_trap_pc;
308c2ecf20Sopenharmony_ci	 unsigned long	sc_fp_trigger_sum;
318c2ecf20Sopenharmony_ci	 unsigned long	sc_fp_trigger_inst;
328c2ecf20Sopenharmony_ci};
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci#endif
36