freebsd-skq/sys/compat/ndis
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
..
cfg_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
hal_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
kern_ndis.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
kern_windrv.c [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 2019-01-22 03:53:42 +00:00
ndis_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ntoskrnl_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
pe_var.h [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 2019-01-22 03:53:42 +00:00
resource_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
subr_hal.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
subr_ndis.c Fix build of ndis with base gcc on i386 2018-06-17 19:24:40 +00:00
subr_ntoskrnl.c Eliminate kmem_alloc_contig()'s unused arena parameter. 2018-08-20 15:57:27 +00:00
subr_pe.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
subr_usbd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
usbd_var.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
winx32_wrap.S
winx64_wrap.S