Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 867 → Rev 871

/shark/trunk/ports/first/modules/nonestar.c
49,7 → 49,7
#include "tracer.h"
#include <modules/comm_message.h>
 
//#define NONESTAR_DEBUG
#define NONESTAR_DEBUG
 
#define NONESTAR_CHANGE_LEVEL 1
 
132,8 → 132,12
if (lev->flag & NONESTAR_CHANGE_LEVEL) {
STD_command_message msg;
proc_table[p].status = SLEEP;
lev->current=NIL;
 
if (lev->current!=NIL && lev->status!=NONESTAR_IDLE)
level_table[ lev->scheduling_level ]->
private_extract(lev->scheduling_level, p);
 
lev->current = NIL;
lev->budget = -1;
proc_table[p].task_level = lev->new_level[p];
163,7 → 167,7
kern_printf("(NN:Epi:%d)",p);
#endif
 
if (NONESTAR_change_level(l, p)) return;
if (NONESTAR_change_level(l, p)) return;
 
level_table[ lev->scheduling_level ] ->
private_epilogue(lev->scheduling_level,p);
250,6 → 254,8
kern_printf("(NN:EndCycle:%d)",p);
#endif
 
if (NONESTAR_change_level(l, p)) return 0;
 
lev->status = NONESTAR_IDLE;
 
level_table[ lev->scheduling_level ]->