acrn-hypervisor/hypervisor/arch/x86/guest
Qi Yadong 1b79f28efe hv: update CR0/CR4 on demand in run_vcpu()
Suppose run_ctx.cr0/cr4 are correct when do world switching, so call
vcpu_set_cr0/cr4() to update cr0/cr4 directly before resume to guest.
This design is only for trusty world switching.

Tracked-On: #2773
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-19 09:57:08 +08:00
..
assign.c hv: Remove multiple definitions for dmar translation structures 2019-03-08 15:23:20 +08:00
ept.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.c HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
instr_emul.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
io_emul.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
pm.c HV: refine location of platform_acpi_info header 2019-03-08 10:34:14 +08:00
trusty.c hv: trusty: refine control registers switching method 2019-03-15 10:08:25 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: update CR0/CR4 on demand in run_vcpu() 2019-03-19 09:57:08 +08:00
vcpuid.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
virq.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
virtual_cr.c hv: pae: fix a issue of loading pdptrs when handle cr4 2019-02-21 18:54:22 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vm.c HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
vmcall.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmcs.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vmexit.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmsr.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
vmtrr.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00