Changeset 415 for trunk/kernel/kern/rpc.c
- Timestamp:
- Dec 22, 2017, 1:16:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r409 r415 106 106 rpc->lid = core->lid; 107 107 108 printk("\n @@@ enter %s : rpc_desc_cxy = %x / rpc_desc_ptr = %x / index = %d / &index = %x\n", 109 __FUNCTION__ , local_cxy , rpc , rpc->index , &rpc->index); 110 108 111 // build an extended pointer on the RPC descriptor 109 112 xptr_t desc_xp = XPTR( local_cxy , rpc ); … … 176 179 } 177 180 181 printk("\n @@@ exit %s : rpc_desc_cxy = %x / rpc_desc_ptr = %x / index = %d / &index = %x\n", 182 __FUNCTION__ , local_cxy , rpc , rpc->index , &rpc->index); 183 178 184 } // end rpc_send() 179 185 … … 245 251 } 246 252 253 //@@@ 254 sched_display( 0 ); 255 //@@@ 256 247 257 grpc_dmsg("\n[DBG] %s : core[%x,%d] / interrupted thread %s deschedules / cycle %d\n", 248 258 __FUNCTION__, local_cxy, core->lid, thread_type_str(this->type), hal_time_stamp() ); … … 300 310 while( 1 ) // internal loop 301 311 { 312 302 313 empty = local_fifo_get_item( rpc_fifo , (uint64_t *)&desc_xp ); 303 314 … … 311 322 index = hal_remote_lw( XPTR( desc_cxy , &desc_ptr->index ) ); 312 323 324 printk("\n @@@ in %s : rpc_desc_cxy = %x / rpc_desc_ptr = %x / index = %d / &index = %x\n", 325 __FUNCTION__ , desc_cxy , desc_ptr , index , &desc_ptr->index ); 326 313 327 grpc_dmsg("\n[DBG] %s : core[%x,%d] / RPC thread %x / starts rpc %d / cycle %d\n", 314 __FUNCTION__ , local_cxy , this->core->lid , this->trdid , index , hal_time_stamp() );328 __FUNCTION__ , local_cxy , this->core->lid , this->trdid , index , (uint32_t)hal_get_cycles() ); 315 329 316 330 // call the relevant server function … … 980 994 981 995 ///////////////////////////////////////////////////////////////////////////////////////// 982 // [9] Marshaling functions attached to RPC_PROCESS_KILL(multicast / non blocking)996 // [9] Marshaling functions attached to RPC_PROCESS_SIGACTION (multicast / non blocking) 983 997 ///////////////////////////////////////////////////////////////////////////////////////// 984 998 … … 990 1004 xptr_t client_xp ) // in 991 1005 { 992 sig nal_dmsg("\n[DBG] %s : enter for %s/ thread %x on core[%x,%d] / cycle %d\n",993 __FUNCTION__ , process_action_str( sigaction ) , CURRENT_THREAD ,1006 sigaction_dmsg("\n[DBG] %s : enter for %s (%d) / thread %x on core[%x,%d] / cycle %d\n", 1007 __FUNCTION__ , process_action_str( sigaction ) , sigaction , CURRENT_THREAD , 994 1008 local_cxy , CURRENT_THREAD->core->lid , hal_time_stamp() ); 995 1009 … … 1007 1021 rpc_send( cxy , &rpc , false ); 1008 1022 1009 sig nal_dmsg("\n[DBG] %s : exit for %s/ thread %x on core[%x,%d] / cycle %d\n",1010 __FUNCTION__ , process_action_str( sigaction ) , CURRENT_THREAD ,1023 sigaction_dmsg("\n[DBG] %s : exit for %s (%d) / thread %x on core[%x,%d] / cycle %d\n", 1024 __FUNCTION__ , process_action_str( sigaction ) , sigaction , CURRENT_THREAD , 1011 1025 local_cxy , CURRENT_THREAD->core->lid , hal_time_stamp() ); 1012 1026 } … … 1030 1044 client_xp = (xptr_t) hal_remote_lwd( XPTR( client_cxy , &desc->args[3] ) ); 1031 1045 1032 sig nal_dmsg("\n[DBG] %s : enter for %s/ thread %x on core[%x,%d] / cycle %d\n",1033 __FUNCTION__ , process_action_str( action ) , CURRENT_THREAD ,1046 sigaction_dmsg("\n[DBG] %s : enter for %s (%d) / thread %x on core[%x,%d] / cycle %d\n", 1047 __FUNCTION__ , process_action_str( action ) , action , CURRENT_THREAD , 1034 1048 local_cxy , CURRENT_THREAD->core->lid , hal_time_stamp() ); 1035 1049 … … 1039 1053 else if (action == UNBLOCK_ALL_THREADS ) process_unblock( process , rsp_xp , client_xp ); 1040 1054 1041 sig nal_dmsg("\n[DBG] %s : exit for %s/ thread %x on core[%x,%d] / cycle %d\n",1042 __FUNCTION__ , process_action_str( action ) , CURRENT_THREAD ,1055 sigaction_dmsg("\n[DBG] %s : exit for %s (%d) / thread %x on core[%x,%d] / cycle %d\n", 1056 __FUNCTION__ , process_action_str( action ) , action , CURRENT_THREAD , 1043 1057 local_cxy , CURRENT_THREAD->core->lid , hal_time_stamp() ); 1044 1058 }
Note: See TracChangeset
for help on using the changeset viewer.