2021-07-14 00:44:10 +02:00
|
|
|
#ifndef _E2K_SIGINFO_H_
|
|
|
|
#define _E2K_SIGINFO_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <asm/signal.h>
|
|
|
|
|
|
|
|
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
|
|
|
#define __ARCH_SI_TRAPNO
|
2021-08-26 00:47:50 +02:00
|
|
|
#define __ARCH_SI_BAND_T int
|
2021-07-14 00:44:10 +02:00
|
|
|
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
|
|
|
|
#define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
|
|
|
|
#define SIGEV_PAD_SIZE32 ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SIGSEGV si_codes
|
|
|
|
*/
|
|
|
|
#define SEGV_BOUNDS 3 /* Bounds overflow */
|
|
|
|
#undef NSIGSEGV
|
|
|
|
#define NSIGSEGV 3
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SIGTRAP si_codes
|
|
|
|
*/
|
|
|
|
#define DIAG_CT 3 /* Diagnostic CT condition */
|
|
|
|
#define DIAG_ADDR 4 /* Diagnostic address */
|
|
|
|
#define DIAG_PRED 5 /* Diagnostic predicate */
|
|
|
|
#define DIAG_OP 6 /* Diagnostic operand */
|
|
|
|
#define MEM_LOCK 7 /* Memory lock */
|
|
|
|
#undef NSIGTRAP
|
|
|
|
#define NSIGTRAP 6
|
|
|
|
|
|
|
|
#endif /* _E2K_SIGINFO_H_ */
|