Changeset 492 for trunk/kernel/kern/rpc.c
- Timestamp:
- Aug 22, 2018, 11:55:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r485 r492 85 85 void __attribute__((noinline)) rpc_undefined() 86 86 { 87 assert( false , __FUNCTION__ ,"called in cluster %x", local_cxy );87 assert( false , "called in cluster %x", local_cxy ); 88 88 } 89 89 … … 204 204 205 205 // check response available 206 assert( (rpc->responses == 0) , __FUNCTION__,"illegal RPC response\n" );206 assert( (rpc->responses == 0) , "illegal RPC response\n" ); 207 207 } 208 208 else // non blocking RPC … … 280 280 core->lid ); 281 281 282 assert( (error == 0), __FUNCTION__ ,282 assert( (error == 0), 283 283 "no memory to allocate a new RPC thread in cluster %x", local_cxy ); 284 284 … … 459 459 460 460 // RPC thread deschedules 461 assert( thread_can_yield( server_ptr ) , __FUNCTION__,"illegal sched_yield\n" );461 assert( thread_can_yield( server_ptr ) , "illegal sched_yield\n" ); 462 462 sched_yield("RPC fifo empty"); 463 463 } … … 484 484 #endif 485 485 486 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");486 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 487 487 488 488 // initialise RPC descriptor header … … 555 555 #endif 556 556 557 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");557 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 558 558 559 559 // initialise RPC descriptor header … … 631 631 #endif 632 632 633 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");633 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 634 634 635 635 // initialise RPC descriptor header … … 723 723 error_t * error ) // out 724 724 { 725 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");725 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 726 726 727 727 // initialise RPC descriptor header … … 803 803 error_t * error ) // out 804 804 { 805 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");805 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 806 806 807 807 // initialise RPC descriptor header … … 879 879 880 880 // check some RPC arguments 881 assert( (rpc->blocking == false) , __FUNCTION__ ,"must be non-blocking\n");882 assert( (rpc->index == RPC_PROCESS_SIGACTION ) , __FUNCTION__ ,"bad RPC index\n" );881 assert( (rpc->blocking == false) , "must be non-blocking\n"); 882 assert( (rpc->index == RPC_PROCESS_SIGACTION ) , "bad RPC index\n" ); 883 883 884 884 // register RPC request in remote RPC fifo and return … … 987 987 #endif 988 988 989 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");989 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 990 990 991 991 // initialise RPC descriptor header … … 1094 1094 #endif 1095 1095 1096 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1096 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1097 1097 1098 1098 // initialise RPC descriptor header … … 1172 1172 #endif 1173 1173 1174 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1174 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1175 1175 1176 1176 // initialise RPC descriptor header … … 1263 1263 #endif 1264 1264 1265 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1265 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1266 1266 1267 1267 // initialise RPC descriptor header … … 1341 1341 #endif 1342 1342 1343 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1343 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1344 1344 1345 1345 // initialise RPC descriptor header … … 1423 1423 #endif 1424 1424 1425 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1425 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1426 1426 1427 1427 // initialise RPC descriptor header … … 1486 1486 error_t * error ) // out 1487 1487 { 1488 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1488 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1489 1489 1490 1490 // initialise RPC descriptor header … … 1547 1547 error_t * error ) // out 1548 1548 { 1549 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1549 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1550 1550 1551 1551 // initialise RPC descriptor header … … 1599 1599 error_t * error ) // out 1600 1600 { 1601 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1601 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1602 1602 1603 1603 // initialise RPC descriptor header … … 1666 1666 #endif 1667 1667 1668 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1668 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1669 1669 1670 1670 // initialise RPC descriptor header … … 1754 1754 #endif 1755 1755 1756 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1756 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1757 1757 1758 1758 // initialise RPC descriptor header … … 1834 1834 xptr_t * buf_xp ) // out 1835 1835 { 1836 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1836 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1837 1837 1838 1838 // initialise RPC descriptor header … … 1884 1884 uint32_t kmem_type ) // in 1885 1885 { 1886 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1886 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1887 1887 1888 1888 // initialise RPC descriptor header … … 1934 1934 error_t * error ) // out 1935 1935 { 1936 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");1936 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 1937 1937 1938 1938 // initialise RPC descriptor header … … 2018 2018 page_t ** page ) // out 2019 2019 { 2020 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");2020 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 2021 2021 2022 2022 // initialise RPC descriptor header … … 2073 2073 struct vseg_s ** vseg ) 2074 2074 { 2075 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");2075 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 2076 2076 2077 2077 // initialise RPC descriptor header … … 2143 2143 process_t * process ) 2144 2144 { 2145 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");2145 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 2146 2146 2147 2147 // initialise RPC descriptor header … … 2185 2185 bool_t detailed ) 2186 2186 { 2187 assert( (cxy != local_cxy) , __FUNCTION__ ,"target cluster is not remote\n");2187 assert( (cxy != local_cxy) , "target cluster is not remote\n"); 2188 2188 2189 2189 // initialise RPC descriptor header
Note: See TracChangeset
for help on using the changeset viewer.