acrn-hypervisor/hypervisor/common
Shiqing Gao da14c96135 hv: simplify get_primary_vcpu and vcpu_from_vid
This patch simplifies `get_primary_vcpu` and `vcpu_from_vid`.
The target_vcpu could be get from the index directly.

Tracked-On: #1842
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-04 13:45:02 +08:00
..
hv_main.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
hypercall.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
io_req.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
ptdev.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
schedule.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
softirq.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
stack_protector.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trusty_hypercall.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
vm_load.c hv: simplify get_primary_vcpu and vcpu_from_vid 2019-03-04 13:45:02 +08:00