diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-17 10:54:53 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-25 16:11:29 +0100 |
commit | cfc3b074de4b4ccee2540edbf8cfdb026dc19943 (patch) | |
tree | 90583dfea43e624612f2c6ad9fecabf3213e2dfb /hw/ppc/spapr_hcall.c | |
parent | 21a933ea33c820515f331c162c9f7053ca6f4129 (diff) |
target-i386: fix confusion in xcr0 bit position vs. mask
The xsave and xrstor helpers are accessing the x86_ext_save_areas array
using a bit mask instead of a bit position. Provide two sets of XSTATE_*
definitions and use XSTATE_*_BIT when a bit position is requested.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ppc/spapr_hcall.c')
0 files changed, 0 insertions, 0 deletions