Changeset 503 for trunk/kernel/kern
- Timestamp:
- Aug 25, 2018, 6:28:18 PM (6 years ago)
- Location:
- trunk/kernel/kern
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/chdev.c
r492 r503 264 264 265 265 // deschedule 266 assert( thread_can_yield( this) , "illegal sched_yield\n" );266 assert( thread_can_yield() , "illegal sched_yield\n" ); 267 267 sched_yield("blocked on I/O"); 268 268 -
trunk/kernel/kern/do_syscall.c
r492 r503 34 34 // This ƒonction should never be called... 35 35 /////////////////////////////////////////////////////////////////////////////////////// 36 static int sys_undefined( )36 static int sys_undefined( void ) 37 37 { 38 38 assert( false , "undefined system call" ); -
trunk/kernel/kern/process.c
r492 r503 65 65 66 66 /////////////////////////// 67 process_t * process_alloc( )67 process_t * process_alloc( void ) 68 68 { 69 69 kmem_req_t req; -
trunk/kernel/kern/process.h
r485 r503 176 176 * @ returns pointer on process descriptor if success / return NULL if failure 177 177 ********************************************************************************************/ 178 process_t * process_alloc( );178 process_t * process_alloc( void ); 179 179 180 180 /********************************************************************************************* -
trunk/kernel/kern/rpc.c
r492 r503 83 83 84 84 ////////////////////////////////////////////// 85 void __attribute__((noinline)) rpc_undefined( )85 void __attribute__((noinline)) rpc_undefined( xptr_t xp __attribute__ ((unused)) ) 86 86 { 87 87 assert( false , "called in cluster %x", local_cxy ); … … 459 459 460 460 // RPC thread deschedules 461 assert( thread_can_yield( server_ptr) , "illegal sched_yield\n" );461 assert( thread_can_yield() , "illegal sched_yield\n" ); 462 462 sched_yield("RPC fifo empty"); 463 463 } -
trunk/kernel/kern/rpc.h
r485 r503 176 176 * This function is executed in case of illegal RPC index. 177 177 **********************************************************************************/ 178 void __attribute__((noinline)) rpc_undefined( );178 void __attribute__((noinline)) rpc_undefined( xptr_t xp __attribute__ ((unused)) ); 179 179 180 180 -
trunk/kernel/kern/thread.c
r492 r503 889 889 890 890 //////////////////////////////// 891 inline bool_t thread_can_yield( )891 inline bool_t thread_can_yield( void ) 892 892 { 893 893 thread_t * this = CURRENT_THREAD; -
trunk/kernel/kern/thread.h
r485 r503 369 369 * @ returns true if no locks taken. 370 370 **************************************************************************************/ 371 inline bool_t thread_can_yield( );371 inline bool_t thread_can_yield( void ); 372 372 373 373 /***************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.