aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/dma.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-02-17 10:54:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-25 16:11:29 +0100
commitcfc3b074de4b4ccee2540edbf8cfdb026dc19943 (patch)
tree90583dfea43e624612f2c6ad9fecabf3213e2dfb /include/sysemu/dma.h
parent21a933ea33c820515f331c162c9f7053ca6f4129 (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 'include/sysemu/dma.h')
0 files changed, 0 insertions, 0 deletions