summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/trap.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-10-14 03:01:14 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-10-14 03:01:14 +0000
commitfd2818c7e199b9dd3e001ae107856a36ec2f08c6 (patch)
tree4a6d94076f1684c5429e3f899f837a91ed2c7173 /sys/i386/include/trap.h
parent117e7120fa181d5236c7e36d4f4fd5bc3811fbc8 (diff)
downloadFreeBSD-src-fd2818c7e199b9dd3e001ae107856a36ec2f08c6.zip
FreeBSD-src-fd2818c7e199b9dd3e001ae107856a36ec2f08c6.tar.gz
Add POSIX siginfo_t's si_code, this is for upcoming POSIX realtime signal
support in kernel. Earlier patch reviewed by: jhb, deischen
Diffstat (limited to 'sys/i386/include/trap.h')
-rw-r--r--sys/i386/include/trap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/i386/include/trap.h b/sys/i386/include/trap.h
index 2a1e120..f0176b2 100644
--- a/sys/i386/include/trap.h
+++ b/sys/i386/include/trap.h
@@ -72,16 +72,6 @@
#define ILL_ALIGN_FAULT T_ALIGNFLT
#define ILL_FPOP_FAULT T_FPOPFLT /* coprocessor operand fault */
-/* portable macros for SIGFPE/ARITHTRAP */
-#define FPE_INTOVF 1 /* integer overflow */
-#define FPE_INTDIV 2 /* integer divide by zero */
-#define FPE_FLTDIV 3 /* floating point divide by zero */
-#define FPE_FLTOVF 4 /* floating point overflow */
-#define FPE_FLTUND 5 /* floating point underflow */
-#define FPE_FLTRES 6 /* floating point inexact result */
-#define FPE_FLTINV 7 /* invalid floating point operation */
-#define FPE_FLTSUB 8 /* subscript out of range */
-
/* old FreeBSD macros, deprecated */
#define FPE_INTOVF_TRAP 0x1 /* integer overflow */
#define FPE_INTDIV_TRAP 0x2 /* integer divide by zero */
OpenPOWER on IntegriCloud