acrn-hypervisor/hypervisor/common
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
..
hv_main.c fix parted of "missing for discarded return value" 2018-06-19 16:21:45 +08:00
hypercall.c rename copy_from/to_vm to copy_from/to_gpa 2018-06-11 12:14:43 +08:00
io_request.c fix parted of "missing for discarded return value" 2018-06-19 16:21:45 +08:00
ptdev.c HV: move common stuff from assign.c 2018-06-15 17:10:41 +08:00
schedule.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
stack_protector.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
trusty_hypercall.c trusty: init & switch world fix 2018-06-20 11:30:28 +08:00
vm_load.c hv: set start mode of vcpu 2018-06-01 19:14:13 +08:00