Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/x86/x86



Module Name:    src
Committed By:   riastradh
Date:           Wed May 14 23:39:54 UTC 2025

Modified Files:
        src/sys/arch/x86/x86: fpu.c

Log Message:
x86/fpu.c: Reduce needless stack usage of fpuinit_mxcsr_mask.

This is using the FXSAVE instruction explicitly, which is defined to
operate on a 512-byte area, unconditionally, so let's just use the
struct fxsave type we've defined for that instead of the larger union
savefpu.

XXX The fxsave/fxrstor functions should really be typed, but that
requires moving includes or definitions around between cpufunc.h and
cpu_extende_state.h which might have userland API implications that
I'd rather not think about right now.

PR port-amd64/57661: Crash when booting on Xeon Silver 4416+ in
KVM/Qemu


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/x86/x86/fpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index