khypervisor
v1
|
00001 #include "sched_policy.h" 00002 #include "context.h" 00003 00004 vmid_t sched_policy_determ_next(void) 00005 { 00006 vmid_t next = context_next_vmid(context_current_vmid()); 00007 if ( next == VMID_INVALID ) next = context_first_vmid(); 00008 return next; 00009 }