Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 836 → Rev 838

/shark/trunk/ports/first/modules/grubstar.c
254,11 → 254,7
// recalculate the new effective last reclaiming
mul32div32to32(tx,(lev->U - lev->Uf),lev->U,b->last_reclaiming);
//if (tx>=b->last_reclaiming) {
b->avail -= tx;
// b->avail += b->last_reclaiming;
//}
b->avail -= tx;
 
#ifdef GRUBSTAR_DEBUG
kern_printf("(GS:Cap p%d av=%d tx=%d lr=%d)", p, b->avail,(int)tx, (int)lev->b[lev->tb[p]].last_reclaiming);
/shark/trunk/ports/first/modules/posixstar.c
291,7 → 291,7
if (proc_table[exec].avail_time <= 0) {
POSIXSTAR_private_scheduler(lev);
if (exec==lev->activated) {
level_table[lev->scheduling_level]->private_epilogue(lev->scheduling_level,p);
}
499,6 → 499,7
lev->activated = NIL;
lev->scheduling_level = master;
lev->cap_lev = NIL;
lev->yielding = 0;
NULL_TIMESPEC(&lev->cap_lasttime);
 
return l;