kal_sched.c File Reference

#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

Function Documentation

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().


Variable Documentation

void(* block_hook)(kal_task_t *tsk)
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)
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
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().

Definition at line 15 of file kal_sched.c.

void(* stop_hook)(kal_task_t *tsk)
void(* unblock_hook)(kal_task_t *tsk, long old_state)
Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3