Changeset 581 for trunk/user/init/init.c
- Timestamp:
- Oct 10, 2018, 3:11:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/init/init.c
r574 r581 21 21 #include <sys/wait.h> 22 22 23 #define DEBUG_PROCESS_INIT 023 #define DEBUG_PROCESS_INIT 1 24 24 25 25 // TODO improve the get_config() syscall to return nb_txt_channels … … 53 53 for( i = 1 ; i < NB_TXT_CHANNELS ; i++ ) 54 54 { 55 56 #if DEBUG_PROCESS_INIT57 snprintf( string , 64 , "[INIT] start child[%d] creation" , i );58 display_string( string );59 #endif60 61 55 // INIT process fork process CHILD[i] 62 56 ret_fork = fork(); … … 108 102 for( x = 0 ; x < x_size ; x++ ) 109 103 { 110 cxy = HAL_CXY_FROM_XY( x , y ); 111 display_cluster_processes( cxy ); 112 for( lid = 0 ; lid < ncores ; lid++ ) 113 { 104 for( y = 0 ; y < x_size ; y++ ) 105 { 106 cxy = HAL_CXY_FROM_XY( x , y ); 114 107 display_cluster_processes( cxy ); 108 for( lid = 0 ; lid < ncores ; lid++ ) 109 { 110 display_sched( cxy , lid ); 111 } 115 112 } 116 113 } … … 173 170 } // end KSH kill handling 174 171 175 #if DEBUG_PROCESS_INIT176 177 // INIT displays processes and threads in all clusters178 for( x = 0 ; x < x_size ; x++ )179 {180 for( y = 0 ; y < y_size ; y++ )181 {182 cxy = HAL_CXY_FROM_XY( x , y );183 display_cluster_processes( cxy );184 for( lid = 0 ; lid < ncores ; lid++ )185 {186 display_sched( cxy , lid );187 }188 }189 }190 191 #endif192 193 172 } // end while waiting KSH[i] termination 194 173
Note: See TracChangeset
for help on using the changeset viewer.