diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1994-11-05 22:59:09 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1994-11-05 22:59:09 +0000 |
| commit | a1ca704e29c213f2a751d8b795f5db847ab49cfc (patch) | |
| tree | 4174850f567b26382de1550e26571462c5bb47cd /sys/amd64/include | |
| parent | 65af765646346e636cb980b28b3696de0388c777 (diff) | |
Notes
Diffstat (limited to 'sys/amd64/include')
| -rw-r--r-- | sys/amd64/include/fpu.h | 21 | ||||
| -rw-r--r-- | sys/amd64/include/npx.h | 21 |
2 files changed, 34 insertions, 8 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h index 47775ef71b7f8..98a6ea8d1c062 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_ */ diff --git a/sys/amd64/include/npx.h b/sys/amd64/include/npx.h index 47775ef71b7f8..98a6ea8d1c062 100644 --- a/sys/amd64/include/npx.h +++ b/sys/amd64/include/npx.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_ */ |
