summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-07-01 17:30:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-07-01 17:30:28 +0000
commit4646324bc1a558653bb05db5bbe3331c4fe2ad5a (patch)
tree5370db8b780fe54a9f75926ffc4638526b96a4cd /sys/arch/i386/include
parentba335bb2458fc1d80b37022a1a2d334f8f2c82be (diff)
another day, another compat gets removed. today is ibcs2's turn
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/npx.h9
-rw-r--r--sys/arch/i386/include/segments.h4
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/i386/include/npx.h b/sys/arch/i386/include/npx.h
index f2e63403439..109fb7d477a 100644
--- a/sys/arch/i386/include/npx.h
+++ b/sys/arch/i386/include/npx.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: npx.h,v 1.12 2010/06/29 21:13:43 thib Exp $ */
+/* $OpenBSD: npx.h,v 1.13 2010/07/01 17:30:27 tedu Exp $ */
/* $NetBSD: npx.h,v 1.11 1994/10/27 04:16:11 cgd Exp $ */
/*-
@@ -134,7 +134,6 @@ struct emcsts {
};
/* Intel prefers long real (53 bit) precision */
-#define __iBCS_NPXCW__ 0x262
#define __BDE_NPXCW__ 0x1272 /* FreeBSD */
#define __OpenBSD_NPXCW__ 0x37f
@@ -149,12 +148,6 @@ struct emcsts {
* round to nearest
* 64-bit precision
* all exceptions masked.
- *
- * The iBCS control word has underflow, overflow, zero divide, and invalid
- * operation exceptions unmasked. But that causes an unexpected exception
- * in the test program 'paranoia' and makes denormals useless (DBL_MIN / 2
- * underflows). It doesn't make a lot of sense to trap underflow without
- * trapping denormals.
*/
#define __INITIAL_NPXCW__ __OpenBSD_NPXCW__
diff --git a/sys/arch/i386/include/segments.h b/sys/arch/i386/include/segments.h
index c7d1d6061db..939246b2e9e 100644
--- a/sys/arch/i386/include/segments.h
+++ b/sys/arch/i386/include/segments.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: segments.h,v 1.16 2008/11/14 20:43:55 weingart Exp $ */
+/* $OpenBSD: segments.h,v 1.17 2010/07/01 17:30:27 tedu Exp $ */
/* $NetBSD: segments.h,v 1.23 1996/02/01 22:31:03 mycroft Exp $ */
/*-
@@ -228,8 +228,6 @@ void idt_vec_free(int);
/*
* Entries in the Local Descriptor Table (LDT)
*/
-#define LSYS5CALLS_SEL 0 /* iBCS system call gate */
-#define LSYS5SIGR_SEL 1 /* iBCS sigreturn gate */
#define LBSDICALLS_SEL 16 /* BSDI system call gate */
#define NLDT 17