acrn-hypervisor/hypervisor/include/lib
Conghui Chen e61412981d hv: support xsave in context switch
xsave area:
    legacy region: 512 bytes
    xsave header: 64 bytes
    extended region: < 3k bytes

So, pre-allocate 4k area for xsave. Use certain instruction to save or
restore the area according to hardware xsave feature set.

Tracked-On: #4166
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-12-02 09:31:12 +08:00
..
crypto hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
errno.h HV: Reset physical core of lapic_pt vm when shutdown 2019-04-22 19:58:20 +08:00
list.h HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
rtl.h hv:move 'udelay' to timer.c 2019-03-22 08:38:13 +08:00
sprintf.h fix "Casting operation to a pointer" 2018-11-06 13:37:33 +08:00
types.h hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
util.h hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00