khypervisor
v1
|
Go to the source code of this file.
Functions | |
hvmm_status_t | scheduler_next_event (int irq, void *pdata) |
void | scheduler_test_scheduling (void) |
void | scheduler_schedule (void) |
hvmm_status_t scheduler_next_event | ( | int | irq, |
void * | pdata | ||
) |
void scheduler_schedule | ( | void | ) |
Definition at line 5 of file scheduler.c.
{ /* Switch request, actually performed at trap exit */ context_switchto(sched_policy_determ_next()); }
void scheduler_test_scheduling | ( | void | ) |
Definition at line 36 of file scheduler.c.
{ void scheduler_test_switch_to_next_guest(void *pdata); timer_init(timer_sched); /* 100Mhz -> 1 count == 10ns at RTSM_VE_CA15, fast model*/ timer_set_interval(timer_sched, 100000); timer_add_callback(timer_sched, &scheduler_test_switch_to_next_guest); timer_start(timer_sched); timer_add_callback(timer_sched, &extra_timer_callback); }