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