Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SH_SIGCONTEXT_H
     13 #define __ASM_SH_SIGCONTEXT_H
     14 
     15 struct sigcontext {
     16  unsigned long oldmask;
     17 
     18 #ifdef __SH5__
     19 
     20  unsigned long long sc_regs[63];
     21  unsigned long long sc_tregs[8];
     22  unsigned long long sc_pc;
     23  unsigned long long sc_sr;
     24 
     25  unsigned long long sc_fpregs[32];
     26  unsigned int sc_fpscr;
     27  unsigned int sc_fpvalid;
     28 #else
     29 
     30  unsigned long sc_regs[16];
     31  unsigned long sc_pc;
     32  unsigned long sc_pr;
     33  unsigned long sc_sr;
     34  unsigned long sc_gbr;
     35  unsigned long sc_mach;
     36  unsigned long sc_macl;
     37 
     38  unsigned long sc_fpregs[16];
     39  unsigned long sc_xfpregs[16];
     40  unsigned int sc_fpscr;
     41  unsigned int sc_fpul;
     42  unsigned int sc_ownedfp;
     43 #endif
     44 };
     45 
     46 #endif
     47