/shark/trunk/ports/first/modules/nonestar.c |
---|
87,15 → 87,17 |
{ |
NONESTAR_level_des *lev = (NONESTAR_level_des *)(level_table[l]); |
#ifdef NONESTAR_DEBUG |
kern_printf("(NN:Crt:%d)",p); |
#endif |
if (m->pclass != DUMMY_PCLASS) return -1; |
if (m->level != 0 && m->level != l) return -1; |
if (lev->current != NIL) return -1; |
#ifdef NONESTAR_DEBUG |
kern_printf("(NN:Crt:%d)",p); |
#endif |
lev->current = p; |
lev->flag = 0; |
lev->status = NONESTAR_IDLE; |