Changeset 589 for trunk/libs/libalmosmkh/almosmkh.c
- Timestamp:
- Nov 1, 2018, 12:48:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libalmosmkh/almosmkh.c
r580 r589 79 79 } 80 80 81 ////////////////////////////////// 82 int place_fork( unsigned int cxy ) 83 { 84 return hal_user_syscall( SYS_PLACE_FORK, 85 (reg_t)cxy, 0, 0, 0 ); 86 } 87 81 88 ///////////////////////////////// 82 89 int utls( unsigned int operation, … … 223 230 224 231 ///////////////////////////////////////////////// 225 int display_cluster_processes( unsigned int cxy ) 232 int display_cluster_processes( unsigned int cxy, 233 unsigned int owned ) 226 234 { 227 235 return hal_user_syscall( SYS_DISPLAY, 228 236 DISPLAY_CLUSTER_PROCESSES, 229 (reg_t)cxy, 0, 0 ); 237 (reg_t)cxy, 238 (reg_t)owned, 0 ); 230 239 } 231 240 … … 304 313 "t : display on TXT0 process decriptors attached to TXT[tid]\n" 305 314 "b : display on TXT0 busylocks taken by thread[pid,trdid]\n" 315 "q : display on TXT0 DQDT state\n" 306 316 "y : activate/desactivate trace for core[cxy,lid]\n" 307 317 "x : force calling process to exit\n" … … 313 323 printf("p / cxy = "); 314 324 cxy = get_uint32(); 315 display_cluster_processes( cxy );325 display_cluster_processes( cxy , 0 ); 316 326 } 317 327 else if( cmd == 's' ) … … 336 346 txt = get_uint32(); 337 347 display_txt_processes( txt ); 348 } 349 else if( cmd == 'q' ) 350 { 351 printf("q\n"); 352 display_dqdt(); 338 353 } 339 354 else if( cmd == 'y' )
Note: See TracChangeset
for help on using the changeset viewer.