freebsd-dev/sys/amd64
Mark Johnston cd9c23b5eb Reinitialize thread0's stack base after enabling XSAVE.
Otherwise the initial call to set_top_of_stack(), which occurs before
fpuinit() sets the correct value for cpu_max_ext_state_size, leaves the
stack base at an incorrect location.  Then, when the full area is
zeroed, we end up erroneously zeroing part of the following page.

Reviewed by:	kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D24754
2020-05-08 14:38:48 +00:00
..
acpica
amd64 Reinitialize thread0's stack base after enabling XSAVE. 2020-05-08 14:38:48 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
cloudabi64 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf Add queue(2) debug macros as build options 2020-04-12 18:04:20 +00:00
ia32 Make ps_strings in struct image_params into a pointer. 2020-04-15 20:21:30 +00:00
include Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
linux Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
linux32 Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Fix a few places that free a page from an object without busy held. This is 2019-12-02 22:42:05 +00:00
vmm Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
Makefile