target_signal.h 483 B

1234567891011121314151617181920212223
  1. #ifndef TILEGX_TARGET_SIGNAL_H
  2. #define TILEGX_TARGET_SIGNAL_H
  3. /* this struct defines a stack used during syscall handling */
  4. typedef struct target_sigaltstack {
  5. abi_ulong ss_sp;
  6. abi_int ss_flags;
  7. abi_ulong ss_size;
  8. } target_stack_t;
  9. /*
  10. * sigaltstack controls
  11. */
  12. #define TARGET_SS_ONSTACK 1
  13. #define TARGET_SS_DISABLE 2
  14. #define TARGET_MINSIGSTKSZ 2048
  15. #define TARGET_SIGSTKSZ 8192
  16. #include "../generic/signal.h"
  17. #endif /* TILEGX_TARGET_SIGNAL_H */