1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 296433f6eSDavid Howells #ifndef _ASMAXP_SIGCONTEXT_H 396433f6eSDavid Howells #define _ASMAXP_SIGCONTEXT_H 496433f6eSDavid Howells 596433f6eSDavid Howells struct sigcontext { 696433f6eSDavid Howells /* 796433f6eSDavid Howells * What should we have here? I'd probably better use the same 896433f6eSDavid Howells * stack layout as OSF/1, just in case we ever want to try 996433f6eSDavid Howells * running their binaries.. 1096433f6eSDavid Howells * 1196433f6eSDavid Howells * This is the basic layout, but I don't know if we'll ever 1296433f6eSDavid Howells * actually fill in all the values.. 1396433f6eSDavid Howells */ 1496433f6eSDavid Howells long sc_onstack; 1596433f6eSDavid Howells long sc_mask; 1696433f6eSDavid Howells long sc_pc; 1796433f6eSDavid Howells long sc_ps; 1896433f6eSDavid Howells long sc_regs[32]; 1996433f6eSDavid Howells long sc_ownedfp; 2096433f6eSDavid Howells long sc_fpregs[32]; 2196433f6eSDavid Howells unsigned long sc_fpcr; 2296433f6eSDavid Howells unsigned long sc_fp_control; 2396433f6eSDavid Howells unsigned long sc_reserved1, sc_reserved2; 2496433f6eSDavid Howells unsigned long sc_ssize; 2596433f6eSDavid Howells char * sc_sbase; 2696433f6eSDavid Howells unsigned long sc_traparg_a0; 2796433f6eSDavid Howells unsigned long sc_traparg_a1; 2896433f6eSDavid Howells unsigned long sc_traparg_a2; 2996433f6eSDavid Howells unsigned long sc_fp_trap_pc; 3096433f6eSDavid Howells unsigned long sc_fp_trigger_sum; 3196433f6eSDavid Howells unsigned long sc_fp_trigger_inst; 3296433f6eSDavid Howells }; 3396433f6eSDavid Howells 3496433f6eSDavid Howells 3596433f6eSDavid Howells #endif 36