acrn-hypervisor/hypervisor/arch/x86/guest
Qi Yadong ff41c008ce hv: trusty: refine control registers switching method
Remove vmx_cr0/vmx_cr4 from ext_context structure, they are duplicated
with cr0/cr4 fields in run_context.
Switch cr0/cr4 of run_context structure on demand when do world switch.

Remove vmx_cr0_read_shadow/vmx_cr4_read_shadow from ext_context structure.
These fields should be same for both normal world and secure world.

Tracked-On: #2773
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-15 10:08:25 +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: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vcpuid.c hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +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: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +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: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vmtrr.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00