#include "kal_sched.h"
#include <linux/aquosa/qos_debug.h>
#include <sys/types.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include "qos_list.h"
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | set_task_rr_prio (kal_task_t *p, int priority) |
void | kal_init (void) |
Variables | |
void(* | block_hook )(kal_task_t *tsk) |
void(* | unblock_hook )(kal_task_t *tsk, long old_state) |
void(* | stop_hook )(kal_task_t *tsk) |
void(* | continue_hook )(kal_task_t *tsk, long old_state) |
void(* | fork_hook )(kal_task_t *tsk) |
void(* | cleanup_hook )(kal_task_t *tsk) |
struct list_head | kernel_task_list |
void * | current |
void * | idle |
int | need_resched |
struct list_head | kernel_timer_list |
unsigned long long | jiffies |
rwlock_t | hook_lock |
void kal_init | ( | void | ) |
Definition at line 23 of file kal_sched.c.
References kernel_task_list, and kernel_timer_list.
void set_task_rr_prio | ( | kal_task_t * | p, | |
int | priority | |||
) |
Definition at line 10 of file kal_sched.c.
Referenced by rres_init_sched_param(), and rres_task_sched_default().
void(* block_hook)(kal_task_t *tsk) |
Definition at line 4 of file kal_sched.c.
Referenced by check_gensched_hooks(), qres_cleanup_module(), qres_init_module(), set_gensched_hooks(), and unset_gensched_hooks().
void(* cleanup_hook)(kal_task_t *tsk) |
Definition at line 9 of file kal_sched.c.
Referenced by check_gensched_hooks(), set_gensched_hooks(), and unset_gensched_hooks().
void(* continue_hook)(kal_task_t *tsk, long old_state) |
Definition at line 7 of file kal_sched.c.
Referenced by check_gensched_hooks(), qres_cleanup_module(), qres_init_module(), set_gensched_hooks(), and unset_gensched_hooks().
void* current |
Definition at line 13 of file kal_sched.c.
Referenced by dispatch_task(), find_task(), stop_task(), test_rres_init_module(), and timer_thread().
void(* fork_hook)(kal_task_t *tsk) |
Definition at line 8 of file kal_sched.c.
Referenced by check_gensched_hooks(), set_gensched_hooks(), and unset_gensched_hooks().
rwlock_t hook_lock |
Definition at line 20 of file kal_sched.c.
Referenced by qres_cleanup_module(), qres_init_module(), rres_cleanup_module(), and rres_init_module().
void* idle |
Definition at line 14 of file kal_sched.c.
Referenced by stop_task().
unsigned long long jiffies |
Definition at line 18 of file kal_sched.c.
Referenced by kal_time_now(), and timer_thread().
struct list_head kernel_task_list |
Definition at line 12 of file kal_sched.c.
Referenced by kal_init().
struct list_head kernel_timer_list |
Definition at line 17 of file kal_sched.c.
Referenced by kal_init().
int need_resched |
Definition at line 15 of file kal_sched.c.
void(* stop_hook)(kal_task_t *tsk) |
Definition at line 6 of file kal_sched.c.
Referenced by check_gensched_hooks(), qres_cleanup_module(), qres_init_module(), set_gensched_hooks(), and unset_gensched_hooks().
void(* unblock_hook)(kal_task_t *tsk, long old_state) |
Definition at line 5 of file kal_sched.c.
Referenced by check_gensched_hooks(), qres_cleanup_module(), qres_init_module(), set_gensched_hooks(), and unset_gensched_hooks().