Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1303 → Rev 1304

/demos/trunk/loader/shark/func.h
82,6 → 82,19
#define printf cprintf
/* Printf standard function */
 
/* Mutex */
extern __inline__ void generic_lock_mutex(int res) {
extern mutex_t mutex_table[MAX_MUTEX];
 
mutex_lock(&mutex_table[res]);
}
 
extern __inline__ void generic_unlock_mutex(int res) {
extern mutex_t mutex_table[MAX_MUTEX];
mutex_unlock(&mutex_table[res]);
}
 
/* TASK RUNTIME FUNCTIONS */
 
extern __inline__ void start_oneshot_task(void) {}