acrn-hypervisor/hypervisor/include/arch/x86/guest
Shuo A Liu 7e66c0d4fa hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing
With cpu sharing enabled, per_cpu vcpu cannot work properly as we might
has multiple vcpus running on one pcpu.
Add a schedule API sched_get_current to get current thread_object on
specific pcpu, also add a vcpu API get_running_vcpu to get corresponding
vcpu of the thread_object.

Tracked-On: #3813
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-10-23 12:47:08 +08:00
..
assign.h hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
ept.h HV: Add ept_flush_leaf_page API 2019-06-20 09:32:55 +08:00
guest_memory.h xHV: remove unused function is_dbg_uart_enabled 2019-05-22 16:36:03 +08:00
guest_pm.h hv:Wrap some APIs related with guest pm 2019-10-21 10:13:02 +08:00
hyperv.h hv: support reference time enlightenment 2019-10-22 10:09:16 +08:00
instr_emul.h HV: remove instr_emul.c dead code 2019-07-09 09:22:53 +08:00
trusty.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
vcpuid.h HV: return extended info in vCPUID leaf 0x40000001 2019-07-31 14:13:39 +08:00
virtual_cr.h hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
vlapic.h hv: fix Violations touched ACRN Coding Guidelines 2019-08-15 09:47:11 +08:00
vm_reset.h hv:move some APIs related host reset to pm.c 2019-08-22 14:09:18 +08:00
vm.h hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +08:00
vmcs.h hv: cleanup vmcs.h 2019-08-22 14:13:15 +08:00
vmexit.h hv: refine guest.h 2019-02-03 13:00:42 +08:00
vmtrr.h modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vmx_io.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00