signal.h 675 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * include/asm-xtensa/signal.h
  3. *
  4. * Swiped from SH.
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. *
  10. * Copyright (C) 2001 - 2005 Tensilica Inc.
  11. */
  12. #ifndef _XTENSA_SIGNAL_H
  13. #define _XTENSA_SIGNAL_H
  14. #include <uapi/asm/signal.h>
  15. #ifndef __ASSEMBLY__
  16. struct sigaction {
  17. __sighandler_t sa_handler;
  18. unsigned long sa_flags;
  19. void (*sa_restorer)(void);
  20. sigset_t sa_mask; /* mask last for extensibility */
  21. };
  22. struct k_sigaction {
  23. struct sigaction sa;
  24. };
  25. #include <asm/sigcontext.h>
  26. #endif /* __ASSEMBLY__ */
  27. #endif /* _XTENSA_SIGNAL_H */