1 #ifndef _ASMAXP_SIGCONTEXT_H
2 #define _ASMAXP_SIGCONTEXT_H
4 struct sigcontext_struct {
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..
11 * This is the basic layout, but I don't know if we'll ever
12 * actually fill in all the values..
15 long sc_onstack; /* sigstack state to restore */
16 long sc_mask; /* signal mask to restore */
17 long sc_pc; /* pc at time of signal */
18 long sc_ps; /* psl to retore */
19 long sc_regs[32]; /* processor regs 0 to 31 */
20 long sc_ownedfp; /* fp has been used */
21 long sc_fpregs[32]; /* fp regs 0 to 31 */
22 unsigned long sc_fpcr; /* floating point control register */
23 unsigned long sc_fp_control; /* software fpcr */
25 unsigned long sc_reserved1, sc_reserved2;
26 unsigned long sc_ssize;
28 unsigned long sc_traparg_a0;
29 unsigned long sc_traparg_a1;
30 unsigned long sc_traparg_a2;
31 unsigned long sc_fp_trap_pc;
32 unsigned long sc_fp_trigger_sum;
33 unsigned long sc_fp_trigger_inst;
34 unsigned long sc_retcode[2];