mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-28 19:54:01 +00:00
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> |
||
---|---|---|
.. | ||
console.c | ||
dbg_cmd.c | ||
dump.c | ||
hypercall.c | ||
logmsg.c | ||
Makefile | ||
npk_log.c | ||
printf.c | ||
profiling.c | ||
sbuf.c | ||
shell_priv.h | ||
shell.c | ||
string.c | ||
trace.c | ||
uart16550.c |