Changeset 68 for trunk/kernel/kern/rpc.c
- Timestamp:
- Jun 27, 2017, 10:24:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r23 r68 1249 1249 reg_t sr_save; 1250 1250 1251 printk("\n@@@ coucou 0\n");1252 1253 1251 // get client CPU and cluster coordinates 1254 1252 cxy_t client_cxy = local_cxy; … … 1267 1265 { 1268 1266 error = remote_fifo_put_item( XPTR( server_cxy , &rf->fifo ), 1269 (void *)&xp, 1270 sizeof(xptr_t), 1267 (uint64_t *)&xp, 1271 1268 &first ); 1272 1269 … … 1280 1277 while( error ); 1281 1278 1282 printk("\n@@@ coucou 1\n");1283 1284 1279 rpc_dmsg("\n[INFO] %s on core %d in cluster %x sent RPC %p to cluster %x\n", 1285 1280 __FUNCTION__ , client_lid , client_cxy , rpc , server_cxy ); … … 1302 1297 } 1303 1298 1304 printk("\n@@@ coucou 2\n");1305 1306 1299 // activate preemption to allow incoming RPC and avoid deadlock 1307 1300 if( this->type == THREAD_RPC ) hal_enable_irq( &sr_save ); … … 1312 1305 if( rpc->response == 0 ) break; 1313 1306 } 1314 1315 printk("\n@@@ coucou 3\n");1316 1307 1317 1308 // restore preemption … … 1356 1347 { 1357 1348 error = local_fifo_get_item( &rpc_fifo->fifo, 1358 &xp, 1359 sizeof(xptr_t) ); 1349 (uint64_t *)&xp ); 1360 1350 1361 1351 if ( error == 0 ) // One RPC request successfully extracted from RPC_FIFO
Note: See TracChangeset
for help on using the changeset viewer.