Home | History | Annotate | Download | only in sh
      1 /* Linux-specific definitions: */
      2 
      3 /* Define various structure offsets to simplify cross-compilation.  */
      4 
      5 /* Offsets for SH Linux "ucontext_t":  */
      6 
      7 #define LINUX_UC_FLAGS_OFF	0x0
      8 #define LINUX_UC_LINK_OFF	0x4
      9 #define LINUX_UC_STACK_OFF	0x8
     10 #define LINUX_UC_MCONTEXT_OFF	0x14
     11 #define LINUX_UC_SIGMASK_OFF	0xFC
     12 
     13 /* Offsets for SH Linux "struct sigcontext":  */
     14 
     15 #define LINUX_SC_R0_OFF	0x4
     16 #define LINUX_SC_R1_OFF	0x8
     17 #define LINUX_SC_R2_OFF	0xC
     18 #define LINUX_SC_R3_OFF	0x10
     19 #define LINUX_SC_R4_OFF	0x14
     20 #define LINUX_SC_R5_OFF	0x18
     21 #define LINUX_SC_R6_OFF	0x1C
     22 #define LINUX_SC_R7_OFF	0x20
     23 #define LINUX_SC_R8_OFF	0x24
     24 #define LINUX_SC_R9_OFF	0x28
     25 #define LINUX_SC_R10_OFF	0x2C
     26 #define LINUX_SC_R11_OFF	0x30
     27 #define LINUX_SC_R12_OFF	0x34
     28 #define LINUX_SC_R13_OFF	0x38
     29 #define LINUX_SC_R14_OFF	0x3C
     30 #define LINUX_SC_R15_OFF	0x40
     31 #define LINUX_SC_PC_OFF	0x44
     32 #define LINUX_SC_PR_OFF	0x48
     33