acrn-hypervisor/hypervisor/arch/x86/guest
Zide Chen 9761eede2a hv: cleanup IA32_PAT emulation code r.w.t. to the refactored guest_msrs[]
Currently there are two fields in ext_context to emulate IA32_PAT MSR:
- ia32_pat: hold the value of the emulated IA32_PAT MSR
- vmx_ia32_pat: used for load/store IA32_PAT MSR during world switch

This patch moves ext_context->ia32_pat to the common placeholder for
emulated MSRs acrn_vcpu_arch->guest_msrs[].

Also it renames ext_context->vmx_ia32_pat to ext_context->ia32_pat to
retain same naming convention in struct ext_context.

Tracked-On: #1867
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-12-09 21:32:03 +08:00
..
guest.c hv: fix type conversion without cast with explicit conversion 2018-12-05 13:17:38 +08:00
instr_emul.c hv: fix type conversion without cast with explicit conversion 2018-12-05 13:17:38 +08:00
instr_emul.h hv: remove the theoretic infinite loop 2018-12-05 13:17:38 +08:00
pm.c hv: avoid using of mixed mode arithmetic 2018-12-05 13:17:38 +08:00
ucode.c HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.c hv: cleanup IA32_PAT emulation code r.w.t. to the refactored guest_msrs[] 2018-12-09 21:32:03 +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: MSRs may need isolation between normal and secure world 2018-12-09 21:32:03 +08:00
vm.c hv: fix 'Unused procedure parameter' 2018-12-04 18:28:32 +08:00
vmcall.c hv: hypercall: clean up HV_DEBUG usage 2018-11-20 10:01:50 +08:00
vmsr.c hv: MSRs may need isolation between normal and secure world 2018-12-09 21:32:03 +08:00