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