acrn-hypervisor/hypervisor/debug
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
..
Makefile hv:fix a bug for building debug/release lib 2019-06-26 15:22:57 +08:00
console.c hv: mmu: add hpa2hva_early API for earlt boot 2019-07-26 09:10:06 +08:00
dbg_cmd.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
dump.c hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
hypercall.c hv:remove redundant memset in some cases 2019-09-24 09:02:05 +08:00
logmsg.c HV: fix sbuf "Casting operation to a pointer" 2019-07-11 13:57:21 +08:00
npk_log.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
printf.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
profiling.c hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +08:00
sbuf.c HV: fix sbuf "Casting operation to a pointer" 2019-07-11 13:57:21 +08:00
shell.c hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +08:00
shell_priv.h HV: Debug: Add version command 2019-06-24 18:52:18 +08:00
string.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
trace.c HV: fix sbuf "Casting operation to a pointer" 2019-07-11 13:57:21 +08:00
uart16550.c hv: mmu: add hpa2hva_early API for earlt boot 2019-07-26 09:10:06 +08:00