freebsd-dev/sys/amd64/ia32
Konstantin Belousov 6cf9a08d2c Introduce the x86 kernel interfaces to allow kernel code to use
FPU/SSE hardware. Caller should provide a save area that is chained
into the stack of the areas; pcb save_area for usermode FPU state is
on top. The pcb now contains a pointer to the current FPU saved area,
used during FPUDNA handling and context switches.  There is also a
facility to allow the kernel thread to use pcb save_area.

Change the dreaded warnings "npxdna in kernel mode!" into the panics
when FPU usage is not registered.

KPI discussed with:	fabient
Tested by:    pho, fabient
Hardware provided by:	Sentex Communications
MFC after:    1 month
2010-06-05 15:59:59 +00:00
..
ia32_exception.S Restore the segment registers and segment base MSRs for amd64 syscall 2009-07-09 09:34:11 +00:00
ia32_misc.c Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
ia32_reg.c Introduce the x86 kernel interfaces to allow kernel code to use 2010-06-05 15:59:59 +00:00
ia32_signal.c As was done in r155238 for i386 and in r155239 for amd64, clear the carry 2010-04-21 11:17:16 +00:00
ia32_sigtramp.S Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
ia32_syscall.c Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00