acrn-hypervisor/hypervisor/arch/x86/guest
Li, Fei1 a56abee9ff hv: coding style: refine find_vcpuid_entry
1) add local_find_vcpuid_entry to find whether a cpuid leaf exist
in vcpuid cache entries.
2) find_vcpuid_entry will return the found entry if local_find_vcpuid_entry
return is not null. Otherwise, call local_find_vcpuid_entry again
when necessary.
In this case, there could eliminate recursion in find_vcpuid_entry.

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-12-20 22:07:53 +08:00
..
guest.c hv:fix MISRA-C violations in create_vm 2018-12-20 18:47:57 +08:00
instr_emul.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
instr_emul.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
pm.c HV: fix pm code for multi-exits & unsigned const 2018-12-20 21:56:48 +08:00
ucode.c hv: refine coding style for ucode.c 2018-12-19 09:44:42 +08:00
vcpu.c Make ibrs_type as internal variable 2018-12-19 09:07:14 +08:00
vcpuid.c hv: coding style: refine find_vcpuid_entry 2018-12-20 22:07:53 +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: use int32_t replace int 2018-12-12 13:08:10 +08:00
vm.c hv:fix MISRA-C violations in create_vm 2018-12-20 18:47:57 +08:00
vmcall.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmsr.c hv: fix enable_msr_interception() function 2018-12-20 18:46:19 +08:00
vmtrr.c hv: refine a few functions to only one exit point 2018-12-19 09:17:30 +08:00