acrn-hypervisor/hypervisor/include
Jason Chen CJ e84d4dee19 trusty: init & switch world fix
- when init, cr0 & cr4 should read from VMCS
- when world switch, cr0/cr4 read shadow should also be save/restore

v2:
- use context->vmx_cr0/cr4 to save/restore VMX_GUEST_CR0/CR4
- use context->cr0/cr4 to save/restore VMX_CR0/CR4_READ_SHADOW

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-06-20 11:30:28 +08:00
..
arch/x86 trusty: init & switch world fix 2018-06-20 11:30:28 +08:00
common fix parted of "missing for discarded return value" 2018-06-19 16:21:45 +08:00
debug hv: add suspend/resume callback for console 2018-06-14 13:41:45 +08:00
lib fix parted of "missing for discarded return value" 2018-06-19 16:21:45 +08:00
public HV: add bsp acpi info support 2018-06-13 15:02:03 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00