From 65a4b57abc2b57b265fab5c5040b620aa34875e8 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 2 Apr 1997 17:15:45 +0000 Subject: [PATCH] add SVR4_T_* flags; might be wrong for sparc --- sys/arch/sparc/include/svr4_machdep.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sys/arch/sparc/include/svr4_machdep.h b/sys/arch/sparc/include/svr4_machdep.h index 7b1220ee14f..c7a5d303b74 100644 --- a/sys/arch/sparc/include/svr4_machdep.h +++ b/sys/arch/sparc/include/svr4_machdep.h @@ -104,4 +104,24 @@ int svr4_setcontext __P((struct proc *p, struct svr4_ucontext *)); void svr4_sendsig __P((sig_t, int, int, u_long, int, union sigval)); int svr4_trap __P((int, struct proc *)); +/* + * Processor traps + */ +#define SVR4_T_DIVIDE 0 +#define SVR4_T_TRCTRAP 1 +#define SVR4_T_NMI 2 +#define SVR4_T_BPTFLT 3 +#define SVR4_T_OFLOW 4 +#define SVR4_T_BOUND 5 +#define SVR4_T_PRIVINFLT 6 +#define SVR4_T_DNA 7 +#define SVR4_T_DOUBLEFLT 8 +#define SVR4_T_FPOPFLT 9 +#define SVR4_T_TSSFLT 10 +#define SVR4_T_SEGNPFLT 11 +#define SVR4_T_STKFLT 12 +#define SVR4_T_PROTFLT 13 +#define SVR4_T_PAGEFLT 14 +#define SVR4_T_ALIGNFLT 17 + #endif /* !_SPARC_SVR4_MACHDEP_H_ */ -- 2.20.1