acrn-hypervisor/hypervisor/include/arch/x86/guest
Jason Chen CJ ff0703dd40 scheduler: make scheduling based on struct sched_object
use struct sched_object as the main interface of scheduling, then
make scheduler as an independent module to vcpu:
- add struct sched_object as one field in struct vcpu
- define sched_object.thread for switch_to thread
- define sched_object.prepare_switch_out/in for prepare_switch before
  switch_to
- move context_switch_out/context_switch_in into vcpu.c as
  vcpu.sched_obj.prepare_switch_out/in
- make default_idle as global idle.thread for idle_thread
- make vcpu_thread as vcpu.sched_obj.thread for each vcpu thread
- simplify switch_to based on sched_object

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <edide.dong@intel.com>
2018-12-21 10:34:15 +08:00
..
guest_pm.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
guest.h hv:fix MISRA-C violations in create_vm 2018-12-20 18:47:57 +08:00
mptable.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h scheduler: make scheduling based on struct sched_object 2018-12-21 10:34:15 +08:00
vcpuid.h modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
vioapic.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vlapic.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vm0_boot.h modularization: boot component 2018-12-03 09:09:44 +08:00
vm.h hv:refine prepare_vm0 api 2018-12-19 09:16:37 +08:00
vmtrr.h modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vpic.h doc: always use 'None' for functions not returning a value 2018-11-30 14:55:17 +08:00