acrn-hypervisor/hypervisor/include/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_pm.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
guest.h hv: MSRs may need isolation between normal and secure world 2018-12-09 21:32:03 +08:00
mptable.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: cleanup IA32_PAT emulation code r.w.t. to the refactored guest_msrs[] 2018-12-09 21:32:03 +08:00
vioapic.h doc: always use 'None' for functions not returning a value 2018-11-30 14:55:17 +08:00
vlapic.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
vm0_boot.h modularization: boot component 2018-12-03 09:09:44 +08:00
vm.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
vpic.h doc: always use 'None' for functions not returning a value 2018-11-30 14:55:17 +08:00