rt_sigframe.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #ifndef _ASM_PARISC_RT_SIGFRAME_H
  2. #define _ASM_PARISC_RT_SIGFRAME_H
  3. struct rt_sigframe {
  4. unsigned int tramp[4];
  5. struct siginfo info;
  6. struct ucontext uc;
  7. };
  8. /*
  9.  * The 32-bit ABI wants at least 48 bytes for a function call frame:
  10.  * 16 bytes for arg0-arg3, and 32 bytes for magic (the only part of
  11.  * which Linux/parisc uses is sp-20 for the saved return pointer...)
  12.  * Then, the stack pointer must be rounded to a cache line (64 bytes).
  13.  */
  14. #define PARISC_RT_SIGFRAME_SIZE
  15. (((sizeof(struct rt_sigframe) + 48) + 63) & -64)
  16. #endif