]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move userland bits of i386 npx.h and amd64 fpu.h to x86 fpu.h.
authorTijl Coosemans <tijl@FreeBSD.org>
Fri, 16 Mar 2012 20:24:30 +0000 (20:24 +0000)
committerTijl Coosemans <tijl@FreeBSD.org>
Fri, 16 Mar 2012 20:24:30 +0000 (20:24 +0000)
commit786645078b304a8037f687eb1b81ccd615d4afd3
treefd1d230ecbf75adf9d32622c24cc4e97a58dd02c
parent545193ce59e88c1c8b2571cf628ac6932779e6f1
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
sys/amd64/include/fpu.h
sys/amd64/include/npx.h [new file with mode: 0644]
sys/compat/ia32/ia32_reg.h
sys/i386/include/npx.h
sys/x86/include/fpu.h [new file with mode: 0644]