diff options
author | peter <peter@FreeBSD.org> | 2003-11-08 03:33:38 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-11-08 03:33:38 +0000 |
commit | a2fff099b75b96214ea1d17089b006cf2d0c29c0 (patch) | |
tree | 2e6835afc0e70e0290f3ab668c2bd21c00e81b76 /sys/amd64/include/fpu.h | |
parent | 062002500cbbdc46648145d530c280588c343bce (diff) | |
download | FreeBSD-src-a2fff099b75b96214ea1d17089b006cf2d0c29c0.zip FreeBSD-src-a2fff099b75b96214ea1d17089b006cf2d0c29c0.tar.gz |
The great s/npx/fpu/gi
Diffstat (limited to 'sys/amd64/include/fpu.h')
-rw-r--r-- | sys/amd64/include/fpu.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h index 81ef808..dfe5945 100644 --- a/sys/amd64/include/fpu.h +++ b/sys/amd64/include/fpu.h @@ -38,12 +38,12 @@ */ /* - * 287/387 NPX Coprocessor Data Structures and Constants + * Floating Point Data Structures and Constants * W. Jolitz 1/90 */ -#ifndef _MACHINE_NPX_H_ -#define _MACHINE_NPX_H_ +#ifndef _MACHINE_FPU_H_ +#define _MACHINE_FPU_H_ /* Contents of each x87 floating point accumulator */ struct fpacc87 { @@ -95,20 +95,20 @@ struct savefpu { * This is mostly academic for AMD64, because the ABI prefers the use * SSE2 based math. For FreeBSD/amd64, we go with the default settings. */ -#define __INITIAL_NPXCW__ 0x037F +#define __INITIAL_FPUCW__ 0x037F #define __INITIAL_MXCSR__ 0x1F80 #define __INITIAL_MXCSR_MASK__ 0xFFBF #ifdef _KERNEL -int npxdna(void); -void npxdrop(void); -void npxexit(struct thread *td); -int npxformat(void); -int npxgetregs(struct thread *td, struct savefpu *addr); -void npxinit(u_short control); -void npxsave(struct savefpu *addr); -void npxsetregs(struct thread *td, struct savefpu *addr); -int npxtrap(void); +int fpudna(void); +void fpudrop(void); +void fpuexit(struct thread *td); +int fpuformat(void); +int fpugetregs(struct thread *td, struct savefpu *addr); +void fpuinit(u_short control); +void fpusave(struct savefpu *addr); +void fpusetregs(struct thread *td, struct savefpu *addr); +int fputrap(void); #endif -#endif /* !_MACHINE_NPX_H_ */ +#endif /* !_MACHINE_FPU_H_ */ |