Changeset 406 for trunk/kernel/kern/rpc.c
- Timestamp:
- Aug 29, 2017, 12:03:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r389 r406 97 97 page_t ** page ) // out 98 98 { 99 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",99 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 100 100 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 101 101 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 117 117 *page = (page_t *)(intptr_t)rpc.args[1]; 118 118 119 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",119 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 120 120 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 121 121 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 125 125 void rpc_pmem_get_pages_server( xptr_t xp ) 126 126 { 127 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",127 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 128 128 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 129 129 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 142 142 hal_remote_swd( XPTR( cxy , &desc->args[1] ) , (uint64_t)(intptr_t)page ); 143 143 144 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",144 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 145 145 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 146 146 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 157 157 pid_t * pid ) // out 158 158 { 159 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",159 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 160 160 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 161 161 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 178 178 *error = (error_t)rpc.args[2]; 179 179 180 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",180 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 181 181 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 182 182 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 190 190 pid_t pid; // output : process identifier 191 191 192 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",192 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 193 193 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 194 194 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 209 209 hal_remote_sw( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)pid ); 210 210 211 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",211 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 212 212 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 213 213 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 224 224 error_t * error ) // out 225 225 { 226 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",226 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 227 227 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 228 228 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 244 244 *error = (error_t)rpc.args[1]; 245 245 246 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",246 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 247 247 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 248 248 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 256 256 error_t error; // local error error status 257 257 258 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",258 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 259 259 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 260 260 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 278 278 hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)error ); 279 279 280 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",280 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 281 281 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 282 282 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 291 291 void rpc_process_kill_client( process_t * process ) 292 292 { 293 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",293 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 294 294 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 295 295 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 325 325 } 326 326 327 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",327 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 328 328 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 329 329 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 336 336 process_t * process; 337 337 338 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",338 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 339 339 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 340 340 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 360 360 } 361 361 362 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",362 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 363 363 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 364 364 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 379 379 error_t * error ) // out 380 380 { 381 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",381 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 382 382 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 383 383 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 403 403 *error = (error_t)rpc.args[5]; 404 404 405 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",405 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 406 406 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 407 407 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 421 421 error_t error; 422 422 423 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",423 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 424 424 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 425 425 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 456 456 hal_remote_swd( XPTR( client_cxy , &desc->args[2] ) , (uint64_t)thread_xp ); 457 457 458 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",458 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 459 459 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 460 460 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 473 473 error_t * error ) // out 474 474 { 475 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",475 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 476 476 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 477 477 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 496 496 *error = (error_t)rpc.args[4]; 497 497 498 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",498 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 499 499 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 500 500 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 509 509 error_t error; 510 510 511 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",511 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 512 512 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 513 513 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 533 533 hal_remote_swd( XPTR( client_cxy , &desc->args[2] ) , (uint64_t)thread_xp ); 534 534 535 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",535 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 536 536 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 537 537 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 547 547 uint32_t sig_id ) // in 548 548 { 549 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",549 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 550 550 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 551 551 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 565 565 rpc_send_sync( cxy , &rpc ); 566 566 567 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",567 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 568 568 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 569 569 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 576 576 uint32_t sig_id; // signal index 577 577 578 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",578 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 579 579 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 580 580 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 591 591 signal_rise( process , sig_id ); 592 592 593 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",593 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 594 594 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 595 595 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 613 613 error_t * error ) // out 614 614 { 615 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",615 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 616 616 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 617 617 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 641 641 *error = (error_t)rpc.args[9]; 642 642 643 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",643 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 644 644 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 645 645 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 660 660 error_t error; 661 661 662 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",662 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 663 663 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 664 664 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 693 693 hal_remote_swd( XPTR( client_cxy , &desc->args[9] ) , (uint64_t)error ); 694 694 695 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",695 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 696 696 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 697 697 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 706 706 struct vfs_inode_s * inode ) 707 707 { 708 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",708 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 709 709 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 710 710 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 723 723 rpc_send_sync( cxy , &rpc ); 724 724 725 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",725 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 726 726 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 727 727 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 733 733 vfs_inode_t * inode; 734 734 735 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",735 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 736 736 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 737 737 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 747 747 vfs_inode_destroy( inode ); 748 748 749 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",749 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 750 750 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 751 751 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 764 764 error_t * error ) // out 765 765 { 766 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",766 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 767 767 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 768 768 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 787 787 *error = (error_t)rpc.args[4]; 788 788 789 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",789 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 790 790 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 791 791 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 803 803 char name_copy[CONFIG_VFS_MAX_NAME_LENGTH]; 804 804 805 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",805 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 806 806 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 807 807 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 829 829 hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error ); 830 830 831 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",831 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 832 832 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 833 833 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 843 843 vfs_dentry_t * dentry ) 844 844 { 845 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",845 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 846 846 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 847 847 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 860 860 rpc_send_sync( cxy , &rpc ); 861 861 862 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",862 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 863 863 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 864 864 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 870 870 vfs_dentry_t * dentry; 871 871 872 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",872 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 873 873 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 874 874 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 884 884 vfs_dentry_destroy( dentry ); 885 885 886 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",886 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 887 887 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 888 888 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 901 901 error_t * error ) // out 902 902 { 903 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",903 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 904 904 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 905 905 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 923 923 *error = (error_t)rpc.args[3]; 924 924 925 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",925 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 926 926 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 927 927 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 936 936 error_t error; 937 937 938 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",938 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 939 939 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 940 940 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 957 957 hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error ); 958 958 959 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",959 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 960 960 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 961 961 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 970 970 vfs_file_t * file ) 971 971 { 972 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",972 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 973 973 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 974 974 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 987 987 rpc_send_sync( cxy , &rpc ); 988 988 989 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",989 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 990 990 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 991 991 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 997 997 vfs_file_t * file; 998 998 999 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",999 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1000 1000 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1001 1001 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1011 1011 vfs_file_destroy( file ); 1012 1012 1013 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1013 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1014 1014 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1015 1015 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1027 1027 error_t * error ) // out 1028 1028 { 1029 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1029 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1030 1030 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1031 1031 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1049 1049 *error = (error_t)rpc.args[3]; 1050 1050 1051 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1051 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1052 1052 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1053 1053 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1064 1064 char name_copy[CONFIG_VFS_MAX_NAME_LENGTH]; 1065 1065 1066 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1066 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1067 1067 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1068 1068 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1087 1087 hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error ); 1088 1088 1089 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1089 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1090 1090 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1091 1091 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1101 1101 error_t * error ) // out 1102 1102 { 1103 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1103 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1104 1104 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1105 1105 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1121 1121 *error = (error_t)rpc.args[1]; 1122 1122 1123 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1123 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1124 1124 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1125 1125 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1132 1132 vfs_inode_t * inode; 1133 1133 1134 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1134 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1135 1135 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1136 1136 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1149 1149 hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)error ); 1150 1150 1151 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1151 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1152 1152 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1153 1153 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1166 1166 error_t * error ) // out 1167 1167 { 1168 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1168 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1169 1169 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1170 1170 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1189 1189 *error = (error_t)rpc.args[4]; 1190 1190 1191 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1191 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1192 1192 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1193 1193 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1203 1203 error_t error; 1204 1204 1205 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1205 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1206 1206 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1207 1207 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1223 1223 hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error ); 1224 1224 1225 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1225 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1226 1226 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1227 1227 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1239 1239 error_t * error ) // out 1240 1240 { 1241 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1241 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1242 1242 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1243 1243 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1261 1261 *error = (error_t)rpc.args[3]; 1262 1262 1263 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1263 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1264 1264 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1265 1265 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1275 1275 error_t error; 1276 1276 1277 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1277 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1278 1278 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1279 1279 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1295 1295 hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error ); 1296 1296 1297 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1297 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1298 1298 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1299 1299 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1313 1313 error_t * error ) // out 1314 1314 { 1315 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1315 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1316 1316 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1317 1317 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1336 1336 *error = (error_t)rpc.args[4]; 1337 1337 1338 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1338 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1339 1339 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1340 1340 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1350 1350 error_t error; 1351 1351 1352 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1352 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1353 1353 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1354 1354 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1370 1370 hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error ); 1371 1371 1372 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1372 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1373 1373 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1374 1374 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1384 1384 xptr_t * buf_xp ) // out 1385 1385 { 1386 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1386 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1387 1387 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1388 1388 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1404 1404 *buf_xp = (xptr_t)rpc.args[1]; 1405 1405 1406 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1406 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1407 1407 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1408 1408 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1412 1412 void rpc_kcm_alloc_server( xptr_t xp ) 1413 1413 { 1414 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1414 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1415 1415 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1416 1416 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1433 1433 hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)buf_xp ); 1434 1434 1435 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1435 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1436 1436 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1437 1437 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1447 1447 uint32_t kmem_type ) // in 1448 1448 { 1449 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1449 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1450 1450 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1451 1451 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1465 1465 rpc_send_sync( cxy , &rpc ); 1466 1466 1467 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1467 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1468 1468 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1469 1469 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1473 1473 void rpc_kcm_free_server( xptr_t xp ) 1474 1474 { 1475 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1475 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1476 1476 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1477 1477 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1491 1491 kmem_free( &req ); 1492 1492 1493 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1493 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1494 1494 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1495 1495 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1510 1510 error_t * error ) // out 1511 1511 { 1512 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1512 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1513 1513 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1514 1514 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1535 1535 *error = (error_t)rpc.args[6]; 1536 1536 1537 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1537 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1538 1538 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1539 1539 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1552 1552 error_t error; 1553 1553 1554 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1554 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1555 1555 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1556 1556 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1592 1592 hal_remote_swd( XPTR( client_cxy , &desc->args[6] ) , (uint64_t)error ); 1593 1593 1594 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1594 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1595 1595 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1596 1596 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1607 1607 page_t ** page ) // out 1608 1608 { 1609 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1609 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1610 1610 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1611 1611 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1628 1628 *page = (page_t *)(intptr_t)rpc.args[2]; 1629 1629 1630 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1630 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1631 1631 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1632 1632 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1636 1636 void rpc_mapper_get_page_server( xptr_t xp ) 1637 1637 { 1638 rpc_dmsg("\n[ INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1638 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1639 1639 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1640 1640 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1654 1654 hal_remote_swd( XPTR( cxy , &desc->args[1] ) , (uint64_t)(intptr_t)page ); 1655 1655 1656 rpc_dmsg("\n[ INFO] %s : exit / thread %x on core[%x,%d] / cycle %d\n",1656 rpc_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d] / cycle %d\n", 1657 1657 __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy, 1658 1658 CURRENT_THREAD->core->lid , hal_time_stamp() ); … … 1673 1673 reg_t sr_save; 1674 1674 1675 rpc g_dmsg("\n[INFO] %s : enter / client_cxy = %x / server_cxy = %x / cycle %d\n",1675 rpc_dmsg("\n[DMSG] %s : enter / client_cxy = %x / server_cxy = %x / cycle %d\n", 1676 1676 __FUNCTION__ , local_cxy , server_cxy , hal_time_stamp() ); 1677 1677 … … 1700 1700 while( error ); 1701 1701 1702 rpc g_dmsg("\n[INFO] %s : RPC %l registered / server_cxy = %x / cycle %d\n",1702 rpc_dmsg("\n[DMSG] %s : RPC %l registered / server_cxy = %x / cycle %d\n", 1703 1703 __FUNCTION__ , desc_xp , server_cxy , hal_time_stamp() ); 1704 1704 … … 1714 1714 dev_pic_send_ipi( server_cxy , 0 ); 1715 1715 1716 rpc g_dmsg("\n[INFO] %s : IPI sent / client_cxy = %x / server_cxy = %x\n",1716 rpc_dmsg("\n[DMSG] %s : IPI sent / client_cxy = %x / server_cxy = %x\n", 1717 1717 __FUNCTION__, local_cxy , server_cxy ); 1718 1718 } … … 1729 1729 hal_restore_irq( sr_save ); 1730 1730 1731 rpc g_dmsg("\n[INFO] %s : completed / client_cxy = %x / server_cxy = %x / cycle %d\n",1731 rpc_dmsg("\n[DMSG] %s : completed / client_cxy = %x / server_cxy = %x / cycle %d\n", 1732 1732 __FUNCTION__ , local_cxy , server_cxy , hal_time_stamp() ); 1733 1733 … … 1764 1764 count = 0; 1765 1765 1766 rpc g_dmsg("\n[INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1766 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1767 1767 __FUNCTION__, this->trdid, local_cxy, core->lid , hal_time_stamp() ); 1768 1768 … … 1781 1781 index = hal_remote_lw( XPTR( client_cxy , &desc->index ) ); 1782 1782 1783 rpc g_dmsg("\n[INFO] %s : thread %x on core [%x,%d] / rpc = %d\n",1783 rpc_dmsg("\n[DMSG] %s : thread %x on core [%x,%d] / rpc = %d\n", 1784 1784 __FUNCTION__ , this->trdid , core->lid , local_cxy , index ); 1785 1785 … … 1850 1850 thread->blocked = 0; 1851 1851 1852 rpc g_dmsg("\n[INFO] %s : activate RPC thread %x on core [%x,%d] / cycle %d\n",1852 rpc_dmsg("\n[DMSG] %s : activate RPC thread %x on core [%x,%d] / cycle %d\n", 1853 1853 __FUNCTION__ , thread , core->gid , local_cxy , hal_time_stamp() ); 1854 1854 } … … 1875 1875 hal_atomic_add( &LOCAL_CLUSTER->rpc_threads , 1 ); 1876 1876 1877 rpc g_dmsg("\n[INFO] %s : create RPC thread %x on core [%x,%d] / cycle %d\n",1877 rpc_dmsg("\n[DMSG] %s : create RPC thread %x on core [%x,%d] / cycle %d\n", 1878 1878 __FUNCTION__ , thread->trdid, local_cxy, core->lid, hal_time_stamp() ); 1879 1879 } … … 1900 1900 error_t error; 1901 1901 1902 rpc g_dmsg("\n[INFO] %s : enter / thread %x / cluster %x / cycle %d\n",1902 rpc_dmsg("\n[DMSG] %s : enter / thread %x / cluster %x / cycle %d\n", 1903 1903 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() ); 1904 1904 … … 1906 1906 if( (rpc_fifo->owner != 0) || (local_fifo_is_empty( &rpc_fifo->fifo )) ) 1907 1907 { 1908 rpc g_dmsg("\n[INFO] %s : exit do nothing / thread %x / cluster %x / cycle %d\n",1908 rpc_dmsg("\n[DMSG] %s : exit do nothing / thread %x / cluster %x / cycle %d\n", 1909 1909 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() ); 1910 1910 … … 1926 1926 } 1927 1927 1928 rpc g_dmsg("\n[INFO] %s : exit after RPC thread activation / "1928 rpc_dmsg("\n[DMSG] %s : exit after RPC thread activation / " 1929 1929 "thread %x / cluster %x / cycle %d\n", 1930 1930 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() ); … … 1934 1934 else // light lock taken by another thread 1935 1935 { 1936 rpc g_dmsg("\n[INFO] %s : exit do nothing / thread %x / cluster %x / cycle %d\n",1936 rpc_dmsg("\n[DMSG] %s : exit do nothing / thread %x / cluster %x / cycle %d\n", 1937 1937 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() ); 1938 1938 … … 1951 1951 rpc_fifo_t * rpc_fifo = &LOCAL_CLUSTER->rpc_fifo; 1952 1952 1953 rpc g_dmsg("\n[INFO] %s : enter / thread %x on core[%x,%d] / cycle %d\n",1953 rpc_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d] / cycle %d\n", 1954 1954 __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() ); 1955 1955 … … 1975 1975 if( LOCAL_CLUSTER->rpc_threads >= CONFIG_RPC_THREADS_MAX ) 1976 1976 { 1977 rpc g_dmsg("\n[INFO] %s : RPC thread %x on core[%x,%d] suicide / cycle %d\n",1977 rpc_dmsg("\n[DMSG] %s : RPC thread %x on core[%x,%d] suicide / cycle %d\n", 1978 1978 __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() ); 1979 1979 … … 1986 1986 else 1987 1987 { 1988 rpc g_dmsg("\n[INFO] %s : RPC thread %x on core[%x,%d] blocks / cycle %d\n",1988 rpc_dmsg("\n[DMSG] %s : RPC thread %x on core[%x,%d] blocks / cycle %d\n", 1989 1989 __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() ); 1990 1990 … … 1992 1992 sched_yield( NULL ); 1993 1993 1994 rpc g_dmsg("\n[INFO] %s : RPC thread %x wake up on core[%x,%d] / cycle %d\n",1994 rpc_dmsg("\n[DMSG] %s : RPC thread %x wake up on core[%x,%d] / cycle %d\n", 1995 1995 __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() ); 1996 1996 }
Note: See TracChangeset
for help on using the changeset viewer.