1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-19 03:34:13 +00:00
Files
src/sys
claudio 9170fc1ddc Fix possible reace in ipi_drop_fpstate()
ipi_drop_fpstate() needs to check if the current fpu context matches the
expected one sent via IPI. Only after that %fprs should be cleared.
Use the same asm in ipi_drop_fpstate() as in the start of ipi_save_fpstate().

Also simplify ipi_drop_fpstate() and clearfpstate() since there is no need
to enable the FPU before clearing %fprs.

OK miod@ kettenis@ deraadt@
2026-04-12 13:22:16 +00:00
..
2026-04-09 15:13:45 +00:00