Changeset 485
- Timestamp:
- Aug 21, 2018, 9:52:57 PM (6 years ago)
- Location:
- trunk/kernel/kern
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/chdev.c
r457 r485 431 431 432 432 //////////////////////// 433 void chdev_dir_display( )433 void chdev_dir_display( void ) 434 434 { 435 435 uint32_t i; -
trunk/kernel/kern/chdev.h
r457 r485 252 252 * (global variable replicated in all clusters) 253 253 *****************************************************************************************/ 254 void chdev_dir_display( );254 void chdev_dir_display( void ); 255 255 256 256 /****************************************************************************************** -
trunk/kernel/kern/cluster.c
r457 r485 223 223 224 224 ///////////////////////////////// 225 lid_t cluster_select_local_core( )225 lid_t cluster_select_local_core( void ) 226 226 { 227 227 uint32_t min = 1000; -
trunk/kernel/kern/cluster.h
r457 r485 301 301 * This function returns the core local index that has the lowest usage in local cluster. 302 302 *****************************************************************************************/ 303 lid_t cluster_select_local_core( );303 lid_t cluster_select_local_core( void ); 304 304 305 305 #endif /* _CLUSTER_H_ */ -
trunk/kernel/kern/dqdt.c
r457 r485 67 67 68 68 /////////////////// 69 void dqdt_display( )69 void dqdt_display( void ) 70 70 { 71 71 reg_t save_sr; … … 316 316 317 317 //////////////////////////////////// 318 cxy_t dqdt_get_cluster_for_process( )318 cxy_t dqdt_get_cluster_for_process( void ) 319 319 { 320 320 // build extended pointer on DQDT root node … … 328 328 329 329 //////////////////////////////////// 330 cxy_t dqdt_get_cluster_for_memory( )330 cxy_t dqdt_get_cluster_for_memory( void ) 331 331 { 332 332 // build extended pointer on DQDT root node -
trunk/kernel/kern/dqdt.h
r457 r485 117 117 * @ returns the cluster identifier with the lowest computing load. 118 118 ***************************************************************************************/ 119 cxy_t dqdt_get_cluster_for_process( );119 cxy_t dqdt_get_cluster_for_process( void ); 120 120 121 121 /**************************************************************************************** … … 126 126 * @ returns the cluster identifier with the lowest memory load. 127 127 ***************************************************************************************/ 128 cxy_t dqdt_get_cluster_for_memory( );128 cxy_t dqdt_get_cluster_for_memory( void ); 129 129 130 130 /**************************************************************************************** … … 133 133 * running in any cluster 134 134 ***************************************************************************************/ 135 void dqdt_display( );135 void dqdt_display( void ); 136 136 137 137 -
trunk/kernel/kern/process.c
r472 r485 909 909 910 910 ////////////////////////////// 911 bool_t process_fd_array_full( )911 bool_t process_fd_array_full( void ) 912 912 { 913 913 // get extended pointer on reference process … … 1470 1470 1471 1471 ////////////////////////// 1472 void process_init_create( )1472 void process_init_create( void ) 1473 1473 { 1474 1474 process_t * process; // local pointer on process descriptor … … 1672 1672 1673 1673 //////////////////////////// 1674 uint32_t process_txt_alloc( )1674 uint32_t process_txt_alloc( void ) 1675 1675 { 1676 1676 uint32_t index; // TXT terminal index -
trunk/kernel/kern/process.h
r457 r485 207 207 * to kernel TXT0, because these streams must be defined for all user processes. 208 208 ********************************************************************************************/ 209 void process_init_create( );209 void process_init_create( void ); 210 210 211 211 /********************************************************************************************* … … 444 444 * @ returns true if file descriptor array full. 445 445 ********************************************************************************************/ 446 bool_t process_fd_array_full( );446 bool_t process_fd_array_full( void ); 447 447 448 448 /********************************************************************************************* … … 514 514 * @ return TXT terminal index if succes / kernel panic if no terminal found. 515 515 ********************************************************************************************/ 516 uint32_t process_txt_alloc( );516 uint32_t process_txt_alloc( void ); 517 517 518 518 /********************************************************************************************* -
trunk/kernel/kern/rpc.c
r473 r485 225 225 226 226 //////////////// 227 void rpc_check( )227 void rpc_check( void ) 228 228 { 229 229 error_t error; … … 322 322 323 323 ////////////////////// 324 void rpc_thread_func( )324 void rpc_thread_func( void ) 325 325 { 326 326 error_t empty; // local RPC fifo state -
trunk/kernel/kern/rpc.h
r459 r485 157 157 * the RPC thead to execute. 158 158 **********************************************************************************/ 159 void rpc_check( );159 void rpc_check( void ); 160 160 161 161 /*********************************************************************************** … … 171 171 * This function contains the infinite loop executed by a RPC thread. 172 172 **********************************************************************************/ 173 void rpc_thread_func( );173 void rpc_thread_func( void ); 174 174 175 175 /*********************************************************************************** -
trunk/kernel/kern/thread.c
r473 r485 71 71 // @ return pointer on thread descriptor if success / return NULL if failure. 72 72 ///////////////////////////////////////////////////////////////////////////////////// 73 static thread_t * thread_alloc( )73 static thread_t * thread_alloc( void ) 74 74 { 75 75 page_t * page; // pointer on page descriptor containing thread descriptor … … 896 896 897 897 ///////////////////////// 898 void thread_check_sched( )898 void thread_check_sched( void ) 899 899 { 900 900 thread_t * this = CURRENT_THREAD; … … 1086 1086 1087 1087 /////////////////////// 1088 void thread_idle_func( )1088 void thread_idle_func( void ) 1089 1089 { 1090 1090 -
trunk/kernel/kern/thread.h
r473 r485 336 336 * is executed. We must analyse if we have the same behaviour for I86 architectures... 337 337 **************************************************************************************/ 338 void thread_idle_func( );338 void thread_idle_func( void ); 339 339 340 340 /*************************************************************************************** … … 376 376 * have beeen released and the calling thread THREAD_FLAG_SCHED flag is set. 377 377 **************************************************************************************/ 378 void thread_check_sched( );378 void thread_check_sched( void ); 379 379 380 380 /***************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.