diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-02 17:15:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-02 17:15:46 +0000 |
commit | 1a15f254dd87b49c3d1974dc2440c5d59cc07e73 (patch) | |
tree | e70f96f4fcec6a6acaf750a2bca03409ef1596f7 /sys/arch/sparc/include | |
parent | 0e5f53e7d644571e4d70f70c5d7688d5d27381bf (diff) |
add SVR4_T_* flags; might be wrong for sparc
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/svr4_machdep.h | 20 |
1 files changed, 20 insertions, 0 deletions
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_ */ |