summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2002-04-10 19:24:08 +0000
committerdfr <dfr@FreeBSD.org>2002-04-10 19:24:08 +0000
commitbc1d725291b761f667bd9402278b1da483bc9b50 (patch)
treeec5e3281e2ea40651e97dc3546dbece498c22b25 /sys/ia64
parente224187f7f2985cc8a345c20048dbb5d625dca03 (diff)
downloadFreeBSD-src-bc1d725291b761f667bd9402278b1da483bc9b50.zip
FreeBSD-src-bc1d725291b761f667bd9402278b1da483bc9b50.tar.gz
Add ucode values for SIGFPE etc. Copied from i386/include/signal.h.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/signal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/ia64/include/signal.h b/sys/ia64/include/signal.h
index 6fed9ae..418279a 100644
--- a/sys/ia64/include/signal.h
+++ b/sys/ia64/include/signal.h
@@ -35,6 +35,18 @@ typedef long sig_atomic_t;
#ifndef _ANSI_SOURCE
+/* 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 */
+
+#define BUS_SEGM_FAULT 30 /* segment protection base */
+
/*
* Minimum signal stack size. The current signal frame
* for IA-64 is 2656 bytes large.
OpenPOWER on IntegriCloud