summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/npx.h
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-03-16 20:24:30 +0000
committertijl <tijl@FreeBSD.org>2012-03-16 20:24:30 +0000
commit9c671fcacaa05105013becd8a9a70514228bb3fd (patch)
treefd1d230ecbf75adf9d32622c24cc4e97a58dd02c /sys/amd64/include/npx.h
parent9d9a56e6efa88f739b0da929f728b3510a1b9ea6 (diff)
downloadFreeBSD-src-9c671fcacaa05105013becd8a9a70514228bb3fd.zip
FreeBSD-src-9c671fcacaa05105013becd8a9a70514228bb3fd.tar.gz
Move userland bits of i386 npx.h and amd64 fpu.h to x86 fpu.h.
Remove FPU types from compat/ia32/ia32_reg.h that are no longer needed. Create machine/npx.h on amd64 to allow compiling i386 code that uses this header. The original npx.h and fpu.h define struct envxmm differently. Both definitions have been included in the new x86 header as struct __envxmm32 and struct __envxmm64. During compilation either __envxmm32 or __envxmm64 is defined as envxmm depending on machine architecture. On amd64 the i386 struct is also available as struct envxmm32. Reviewed by: kib
Diffstat (limited to 'sys/amd64/include/npx.h')
-rw-r--r--sys/amd64/include/npx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/include/npx.h b/sys/amd64/include/npx.h
new file mode 100644
index 0000000..ec70f1c
--- /dev/null
+++ b/sys/amd64/include/npx.h
@@ -0,0 +1,6 @@
+/*-
+ * This file is in the public domain.
+ */
+/* $FreeBSD$ */
+
+#include <x86/fpu.h>
OpenPOWER on IntegriCloud