Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 384 → Rev 385

/shark/trunk/kernel/modules/rm.c
20,11 → 20,11
 
/**
------------
CVS : $Id: rm.c,v 1.6 2003-12-10 16:55:00 giacomo Exp $
CVS : $Id: rm.c,v 1.7 2004-01-08 20:10:42 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.6 $
Last update: $Date: 2003-12-10 16:55:00 $
Revision: $Revision: 1.7 $
Last update: $Date: 2004-01-08 20:10:42 $
------------
 
This file contains the scheduling module RM (Rate Monotonic)
122,7 → 122,7
 
case RM_IDLE:
/* tracer stuff */
TRACER_LOGEVENT(FTrace_EVT_task_timer,3,p,proc_table[p].task_level);
TRACER_LOGEVENT(FTrace_EVT_task_timer,3,proc_table[p].context,proc_table[p].task_level);
/* similar to RM_task_activate */
temp = iq_query_timespec(p, &lev->ready);
ADDUSEC2TIMESPEC(lev->period[p], temp);
133,7 → 133,6
(void *)p);
//printk("(d%d idle priority set to %d)",p,proc_table[p].priority );
event_need_reschedule();
printk("el%d|",p);
break;
 
case RM_WAIT:
336,7 → 335,7
proc_table[p].avail_time = proc_table[p].wcet;
 
jet_update_endcycle(); /* Update the Jet data... */
TRACER_LOGEVENT(FTrace_EVT_task_end_cycle,3,p,l);
TRACER_LOGEVENT(FTrace_EVT_task_end_cycle,3,proc_table[p].context,l);
/* when the deadline timer fire, it recognize the situation and set
correctly all the stuffs (like reactivation, sleep, etc... ) */
439,8 → 438,6
 
lev = (RM_level_des *)level_table[l];
 
printk(" lev=%d\n",(int)lev);
 
/* fill the standard descriptor */
lev->l.private_insert = RM_private_insert;
lev->l.private_extract = RM_private_extract;