Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 384 → Rev 385

/shark/trunk/kernel/modules/sem.c
20,11 → 20,11
 
/**
------------
CVS : $Id: sem.c,v 1.7 2003-12-19 10:01:54 giacomo Exp $
CVS : $Id: sem.c,v 1.8 2004-01-08 20:10:42 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.7 $
Last update: $Date: 2003-12-19 10:01:54 $
Revision: $Revision: 1.8 $
Last update: $Date: 2004-01-08 20:10:42 $
------------
 
This file contains the Hartik 3.3.1 Semaphore functions
360,7 → 360,7
LEVEL l; /* for readableness only */
 
/* tracer stuff */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,proc_table[exec_shadow].context);
 
kern_epilogue_macro();
 
388,7 → 388,7
else {
s1->count--;
/* tracer stuff */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,proc_table[exec_shadow].context);
kern_context_load(proc_table[exec_shadow].context);
}
 
470,7 → 470,7
LEVEL l; /* for readableness only */
 
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,proc_table[exec_shadow].context);
kern_epilogue_macro();
498,7 → 498,7
else {
s1->count -= n;
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_wait,3,*s,proc_table[exec_shadow].context);
kern_context_load(proc_table[exec_shadow].context);
}
}
545,7 → 545,7
}
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,proc_table[exec_shadow].context);
kern_frestore(f);
}
else {
570,7 → 570,7
}
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,proc_table[exec_shadow].context);
kern_context_load(proc_table[exec_shadow].context);
}
620,7 → 620,7
}
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,proc_table[exec_shadow].context);
/* Preempt if necessary */
if (fl) event_need_reschedule();
650,7 → 650,7
}
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,proc_table[exec_shadow].context);
/* Preempt if necessary */
if (fl) scheduler();