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 zeroing part of the BSP's DPCPU region.
Details
Details
- Reviewers
kib - Commits
- rS360812: Reinitialize thread0's stack base after enabling XSAVE.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable