diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-08 15:05:28 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-05-26 15:45:27 -0700 |
commit | c6e6d1508ac309e39fec827c3719c86c10cd8975 (patch) | |
tree | 88359146f9ea355d3c954f28ce62eac7b32e8b9a /linux-user | |
parent | 7973eb943e670ea66a19e04868e01803c7594246 (diff) |
target/i386: Convert do_xsave to X86Access
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/i386/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/i386/signal.c b/linux-user/i386/signal.c index e716ec8989..ab760db5ea 100644 --- a/linux-user/i386/signal.c +++ b/linux-user/i386/signal.c @@ -329,7 +329,7 @@ static void xsave_sigcontext(CPUX86State *env, /* Zero the header, XSAVE *adds* features to an existing save state. */ memset(fxstate + 1, 0, sizeof(X86XSaveHeader)); - cpu_x86_xsave(env, xstate_addr, -1); + cpu_x86_xsave(env, xstate_addr, env->xcr0); __put_user(TARGET_FP_XSTATE_MAGIC1, &sw->magic1); __put_user(extended_size, &sw->extended_size); |