mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-03 22:17:03 +00:00
In the hypervisor, VMCS fields include 16-bit fields, 32-bit fields, 64-bit fields and natural-width fields. In the current implement, no exec_vmread32/exec_vmwrite32 is for accessing 32-bit fields. So there are many type casting for the return value and parameters vmread/vmwrite operations. Create exec_vmread32 and exec_vmwrite32 functions to access 32-bit fields in VMCS; Update related variables type for vmread/vmwrite operations; Update related caller according to VMCS fields size. V1--V2: This is new part of this patch serial to only update 32 bit vmread/vmread opertions and related caller. V2-->V3: Update related variables type in data structure for exec_vmread32/exec_vmwrite32. Rename temp variable 'low' into 'value' for exec_vmread32; V3-->V4: Remove useless type conversion. Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
guest | ||
apicreg.h | ||
assign.h | ||
cpu.h | ||
cpufeatures.h | ||
cpuid.h | ||
gdt.h | ||
hob_parse.h | ||
host_pm.h | ||
hv_arch.h | ||
idt.h | ||
io.h | ||
ioapic.h | ||
irq.h | ||
lapic.h | ||
mmu.h | ||
msr.h | ||
mtrr.h | ||
multiboot.h | ||
per_cpu.h | ||
reboot.h | ||
softirq.h | ||
timer.h | ||
trusty.h | ||
vmexit.h | ||
vmx.h | ||
vtd.h | ||
zeropage.h |