freebsd-nq/sys
John Baldwin 824fc46089 MFamd64: Add support for extended FPU states on i386. This includes
support for AVX on i386.
- Similar to amd64, move the FPU save area out of the PCB and instead
  store saved FPU state in a variable-sized buffer after the PCB on the
  stack.
- To support the variable PCB location, alter the locore code to only use
  the bottom-most page of proc0stack for init386().  init386() returns
  the correct stack pointer to locore which adjusts the stack for thread0
  before calling mi_startup().
- Don't bother setting cr3 in thread0's pcb in locore before calling
  init386().  It wasn't used (init386() overwrote it at the end) and
  it doesn't work with the variable-sized FPU save area.
- Remove the new-bus attachment from npx.  This was only ever useful for
  external co-processors using IRQ13, but those have not been supported
  for several years.  npxinit() is now called much earlier during boot
  (init386()) similar to amd64.
- Implement PT_{GET,SET}XSTATE and I386_GET_XFPUSTATE.
- npxsave() is now only called from context switch contexts so it can
  use XSAVEOPT.

Differential Revision:	https://reviews.freebsd.org/D1058
Reviewed by:	kib
Tested on:	FreeBSD/i386 VM under bhyve on Intel i5-2520
2014-11-02 22:58:30 +00:00
..
amd64 MFamd64: Add support for extended FPU states on i386. This includes 2014-11-02 22:58:30 +00:00
arm Fix usage of kern_getenv(). 2014-10-31 15:07:51 +00:00
boot Change the order of the arguments to file_loadraw(). They were swapped 2014-11-01 18:51:48 +00:00
bsm
cam Change the default log level for iSCSI target from 3 to 1. It should 2014-10-31 19:26:12 +00:00
cddl This change addresses 4 bugs in ZFS exposed by Richard Kojedzinszky's 2014-10-25 17:42:44 +00:00
compat Replace some calls to fuword() by fueword() with proper error checking. 2014-10-28 15:28:20 +00:00
conf This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
contrib krping: In verbose mode print only first 128 bytes of krping data. 2014-10-27 22:41:55 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev vt(4): Fix keyboard allocation when kbdmux(4) isn't used 2014-11-02 16:04:48 +00:00
fs Fix handling of "conn" mount_nfs(8) option. 2014-10-30 09:25:03 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Revert somewhat hackish geom_disk optimization, committed as part of r256880, 2014-10-25 15:16:19 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 MFamd64: Add support for extended FPU states on i386. This includes 2014-11-02 22:58:30 +00:00
isa
kern Followup to r273966. Fix the build with ADAPTIVE_LOCKMGRS kernel option. 2014-11-02 19:51:33 +00:00
kgssapi Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
libkern Add a complete implementation of MurmurHash3. Tweak both implementations 2014-10-18 22:15:11 +00:00
mips Use search method instead of fixed offsets for finding rootfs. This unbreaks 2014-10-30 23:47:28 +00:00
modules Remove duplicate macro settings (probably due to an SVN merge /faux pas/ on my part. 2014-11-01 17:52:04 +00:00
net This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
net80211 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netgraph NG_NODE_NAME(node) is always not NULL. Use correct macro. 2014-11-02 05:51:31 +00:00
netinet Don't zero the stats before they are read out. 2014-11-01 10:35:45 +00:00
netinet6 Fix a bug which prevented ND6_IFF_IFDISABLED flag from clearing when 2014-11-02 21:58:31 +00:00
netipsec Use in_localip() instead of handmade implementation. 2014-10-31 12:19:22 +00:00
netnatm
netpfil Bump default dynamic limit to 16k entries. 2014-10-24 13:57:15 +00:00
netsmb
nfs Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nfsclient Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ofed Fix compile warning by removing unused variable. 2014-10-30 16:57:56 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that 2014-10-24 19:58:24 +00:00
powerpc Add type qualifier volatile to the base (userspace) address argument 2014-10-31 17:43:21 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 Add fueword(9) and casueword(9) functions. They are like fuword(9) 2014-10-28 15:22:13 +00:00
sys Fix two issues with lockmgr(9) LK_CAN_SHARE() test, which determines 2014-11-02 13:10:31 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs When non-forced unmount or remount rw->ro is performed, writes on UFS 2014-11-02 13:14:55 +00:00
vm This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
x86 MFamd64: Add support for extended FPU states on i386. This includes 2014-11-02 22:58:30 +00:00
xdr
xen xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00