1 /* 2 * Port on Texas Instruments TMS320C6x architecture 3 * 4 * Copyright (C) 2004, 2009 Texas Instruments Incorporated 5 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 #ifndef _ASM_C6X_SIGCONTEXT_H 12 #define _ASM_C6X_SIGCONTEXT_H 13 14 15 struct sigcontext { 16 unsigned long sc_mask; /* old sigmask */ 17 unsigned long sc_sp; /* old user stack pointer */ 18 19 unsigned long sc_a4; 20 unsigned long sc_b4; 21 unsigned long sc_a6; 22 unsigned long sc_b6; 23 unsigned long sc_a8; 24 unsigned long sc_b8; 25 26 unsigned long sc_a0; 27 unsigned long sc_a1; 28 unsigned long sc_a2; 29 unsigned long sc_a3; 30 unsigned long sc_a5; 31 unsigned long sc_a7; 32 unsigned long sc_a9; 33 34 unsigned long sc_b0; 35 unsigned long sc_b1; 36 unsigned long sc_b2; 37 unsigned long sc_b3; 38 unsigned long sc_b5; 39 unsigned long sc_b7; 40 unsigned long sc_b9; 41 42 unsigned long sc_a16; 43 unsigned long sc_a17; 44 unsigned long sc_a18; 45 unsigned long sc_a19; 46 unsigned long sc_a20; 47 unsigned long sc_a21; 48 unsigned long sc_a22; 49 unsigned long sc_a23; 50 unsigned long sc_a24; 51 unsigned long sc_a25; 52 unsigned long sc_a26; 53 unsigned long sc_a27; 54 unsigned long sc_a28; 55 unsigned long sc_a29; 56 unsigned long sc_a30; 57 unsigned long sc_a31; 58 59 unsigned long sc_b16; 60 unsigned long sc_b17; 61 unsigned long sc_b18; 62 unsigned long sc_b19; 63 unsigned long sc_b20; 64 unsigned long sc_b21; 65 unsigned long sc_b22; 66 unsigned long sc_b23; 67 unsigned long sc_b24; 68 unsigned long sc_b25; 69 unsigned long sc_b26; 70 unsigned long sc_b27; 71 unsigned long sc_b28; 72 unsigned long sc_b29; 73 unsigned long sc_b30; 74 unsigned long sc_b31; 75 76 unsigned long sc_csr; 77 unsigned long sc_pc; 78 }; 79 80 #endif /* _ASM_C6X_SIGCONTEXT_H */ 81