freebsd-dev/sys/compat
Oleksandr Tymoshenko 1715256316 [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64
amd64 miniport drivers are allowed to use FPU which triggers "Unregistered use
of FPU in kernel" panic.

Wrap all variants of MSCALL with fpu_kern_enter/fpu_kern_leave.  To reduce
amount of allocations/deallocations done via
fpu_kern_alloc_ctx/fpu_kern_free_ctx maintain cache of fpu_kern_ctx elements.

Based on the patch by Paul B Mahol

PR:		165622
Submitted by:	Vlad Movchan <vladislav.movchan@gmail.com>
MFC after:	1 month
2019-01-22 03:53:42 +00:00
..
cloudabi Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cloudabi32 Add helper functions to copy strings into struct image_args. 2018-11-29 21:00:56 +00:00
cloudabi64 Add helper functions to copy strings into struct image_args. 2018-11-29 21:00:56 +00:00
freebsd32 Regenerate sysent files after having modified syscalls.master. 2019-01-13 00:38:55 +00:00
ia32 Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
linprocfs Fix output of linprocfs stat entry 2018-06-22 00:02:05 +00:00
linsysfs Create PCI_MATCH and pci_match_device 2018-07-07 15:25:11 +00:00
linux linuxulator: fix stack memory disclosure in linux_sigaltstack 2019-01-21 17:12:16 +00:00
linuxkpi/common Fix compilation failures on different arches that have vm_machdep.c not 2019-01-15 19:33:47 +00:00
ndis [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 2019-01-22 03:53:42 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios x86bios: use M_NOWAIT with mallocs 2018-09-13 07:04:00 +00:00