summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/fpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-05 22:59:09 +0000
committerbde <bde@FreeBSD.org>1994-11-05 22:59:09 +0000
commitf3d69448606c7e79804a3b23c7177350236145df (patch)
tree4174850f567b26382de1550e26571462c5bb47cd /sys/amd64/include/fpu.h
parent87ae338cf9c21af119b6cb92e5e2a7f7d02baae2 (diff)
downloadFreeBSD-src-f3d69448606c7e79804a3b23c7177350236145df.zip
FreeBSD-src-f3d69448606c7e79804a3b23c7177350236145df.tar.gz
Declare all functions exported by the npx driver.
Uniformize idempotency ifdefs.
Diffstat (limited to 'sys/amd64/include/fpu.h')
-rw-r--r--sys/amd64/include/fpu.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h
index 47775ef..98a6ea8 100644
--- a/sys/amd64/include/fpu.h
+++ b/sys/amd64/include/fpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id: npx.h,v 1.4 1994/08/14 23:32:45 ats Exp $
+ * $Id: npx.h,v 1.5 1994/11/04 02:13:15 jkh Exp $
*/
/*
@@ -42,8 +42,8 @@
* W. Jolitz 1/90
*/
-#ifndef ___NPX87___
-#define ___NPX87___
+#ifndef _MACHINE_NPX_H_
+#define _MACHINE_NPX_H_
/* Environment information of floating point unit */
struct env87 {
@@ -136,4 +136,17 @@ struct emcsts {
#define __INITIAL_NPXCW__ __BDE_NPXCW__
#endif
-#endif ___NPX87___
+#ifdef KERNEL
+#include <sys/cdefs.h>
+#include <machine/frame.h>
+
+struct proc;
+
+int npxdna __P((void));
+void npxexit __P((struct proc *p));
+void npxinit __P((u_int control));
+void npxintr __P((struct intrframe frame));
+void npxsave __P((struct save87 *addr));
+#endif
+
+#endif /* !_MACHINE_NPX_H_ */
OpenPOWER on IntegriCloud