Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1019 → Rev 1020

/shark/trunk/kernel/kern.c
18,11 → 18,11
 
/**
------------
CVS : $Id: kern.c,v 1.14 2005-02-25 10:36:14 pj Exp $
CVS : $Id: kern.c,v 1.15 2006-03-07 19:11:58 mauro Exp $
 
File: $File$
Revision: $Revision: 1.14 $
Last update: $Date: 2005-02-25 10:36:14 $
Revision: $Revision: 1.15 $
Last update: $Date: 2006-03-07 19:11:58 $
------------
 
This file contains:
316,7 → 316,7
&& exec==exec_shadow) {
TIMESPEC_ASSIGN(&ty, &schedule_time);
ADDUSEC2TIMESPEC(proc_table[exec_shadow].avail_time,&ty);
// kern_printf("³s%d ns%d sched s%d ns%d³",ty.tv_sec,ty.tv_nsec, schedule_time.tv_sec, schedule_time.tv_nsec);
// kern_printf("s%d ns%d sched s%d ns%d",ty.tv_sec,ty.tv_nsec, schedule_time.tv_sec, schedule_time.tv_nsec);
cap_timer = kern_event_post(&ty, capacity_timer, NULL);
}
/* set the time at witch the task is scheduled */
571,9 → 571,9
they have the cancelability set to deferred) when the system goes to
runlevel 3 */
 
//kern_printf("Û%lu",kern_gettime(NULL));
//kern_printf("�lu",kern_gettime(NULL));
kill_user_tasks();
//kern_printf("Û%lu",kern_gettime(NULL));
//kern_printf("�lu",kern_gettime(NULL));
 
/* exec and exec_shadow are already = -1 */
kern_gettime(&schedule_time);
/shark/trunk/kernel/signal.c
18,11 → 18,11
 
/**
------------
CVS : $Id: signal.c,v 1.14 2006-03-03 17:14:47 mauro Exp $
CVS : $Id: signal.c,v 1.15 2006-03-07 19:11:58 mauro Exp $
 
File: $File$
Revision: $Revision: 1.14 $
Last update: $Date: 2006-03-03 17:14:47 $
Revision: $Revision: 1.15 $
Last update: $Date: 2006-03-07 19:11:58 $
------------
 
This file contains:
1403,7 → 1403,7
int no = *(int *)n;
PID p;
 
kern_printf("(irq_fasthandler: no %d)",no);
//kern_printf("(irq_fasthandler: no %d)",no);
/* tracer stuff */
TRACER_LOGEVENT(FTrace_EVT_interrupt_start,(unsigned short int)no,0);
1442,7 → 1442,9
}
 
f = kern_fsave();
kern_printf("(handler_set: no %d pid %d)",no, pi);
 
//kern_printf("(handler_set: no %d pid %d)",no, pi);
 
if (int_table[no].isUsed == TRUE) {
kern_frestore(f);
errno = EUSED_INT_NO;
1471,7 → 1473,9
}
 
f = kern_fsave();
kern_printf("(handler_remove: no %d )",no);
 
//kern_printf("(handler_remove: no %d )",no);
 
if (int_table[no].isUsed == FALSE) {
kern_frestore(f);
errno = EUNUSED_INT_NO;