target-i386: Define structs for layout of xsave area
commitb503717d28e8f7eff39bf38624e6cf42687d951a
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 19 Nov 2015 18:52:33 +0000 (19 16:52 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 May 2016 16:19:36 +0000 (23 13:19 -0300)
tree60fe87bc28f47f42e932f4cd87cf02f84fdf6fe6
parentc9158547617584bb9d19db7fb139998fbef80133
target-i386: Define structs for layout of xsave area

Add structs that define the layout of the xsave areas used by
Intel processors. Add some QEMU_BUILD_BUG_ON lines to ensure the
structs match the XSAVE_* macros in target-i386/kvm.c and the
offsets and sizes at target-i386/cpu.c:ext_save_areas.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.h
target-i386/kvm.c