diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-08 14:30:30 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-05-26 15:45:23 -0700 |
commit | a7365e984d27b961f381cf3be46682e4da5ab6f7 (patch) | |
tree | 0c90234654191974d958488d5d9dcc9da818d34f /po | |
parent | 9e9b7d4c15b1cbefc608487a38e10c8f708fb187 (diff) | |
download | qemu-a7365e984d27b961f381cf3be46682e4da5ab6f7.zip qemu-a7365e984d27b961f381cf3be46682e4da5ab6f7.tar.gz qemu-a7365e984d27b961f381cf3be46682e4da5ab6f7.tar.bz2 |
linux-user/i386: Fix allocation and alignment of fp state
For modern cpus, the kernel uses xsave to store all extra
cpu state across the signal handler. For xsave/xrstor to
work, the pointer must be 64 byte aligned. Moreover, the
regular part of the signal frame must be 16 byte aligned.
Attempt to mirror the kernel code as much as possible.
Use enum FPStateKind instead of use_xsave() and use_fxsr().
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1648
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions