summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorJoshua Elsasser <joshe@cvs.openbsd.org>2010-09-29 15:11:32 +0000
committerJoshua Elsasser <joshe@cvs.openbsd.org>2010-09-29 15:11:32 +0000
commit28c539049532b2872c8827df35e33ad7089977f0 (patch)
tree8f62f80370e8dfa33597263c2ed9904012b3182f /sys/arch/i386/include
parentf26ef5b606ca0789d6e460ed12f5965ce29c596c (diff)
Back out previous, it appears to be broken.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/npx.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/i386/include/npx.h b/sys/arch/i386/include/npx.h
index 44c26da86cd..7b92a8693fb 100644
--- a/sys/arch/i386/include/npx.h
+++ b/sys/arch/i386/include/npx.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: npx.h,v 1.14 2010/09/29 13:46:38 joshe Exp $ */
+/* $OpenBSD: npx.h,v 1.15 2010/09/29 15:11:31 joshe Exp $ */
/* $NetBSD: npx.h,v 1.11 1994/10/27 04:16:11 cgd Exp $ */
/*-
@@ -96,7 +96,7 @@ struct envxmm {
uint16_t en_fos; /* FPU Data pointer selector */
uint16_t en_rsvd2;
uint32_t en_mxcsr; /* MXCSR Register State */
- uint32_t en_mxcsr_mask; /* Mask for valid MXCSR bits (may be 0) */
+ uint32_t en_rsvd3;
};
/* FPU regsters in the extended save format. */
@@ -142,7 +142,6 @@ struct emcsts {
* Set Reference, pg. 3-369.
*/
#define __INITIAL_MXCSR__ 0x1f80
-#define __INITIAL_MXCSR_MASK__ 0xffbf
/*
* The standard control word from finit is 0x37F, giving:
@@ -159,8 +158,6 @@ void process_s87_to_xmm(const struct save87 *, struct savexmm *);
struct cpu_info;
struct trapframe;
-extern uint32_t fpu_mxcsr_mask;
-
void npxinit(struct cpu_info *);
void npxtrap(struct trapframe *);
void fpu_kernel_enter(void);