Ignore:
Timestamp:
Aug 29, 2017, 12:03:37 PM (7 years ago)
Author:
alain
Message:

This version executed successfully the user "init" process on a mono-processor TSAR architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/rpc.c

    r389 r406  
    9797                                page_t  ** page )      // out
    9898{
    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",
    100100    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    101101    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    117117    *page    = (page_t *)(intptr_t)rpc.args[1];
    118118
    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",
    120120    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    121121    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    125125void rpc_pmem_get_pages_server( xptr_t xp )
    126126{
    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",
    128128    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    129129    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    142142    hal_remote_swd( XPTR( cxy , &desc->args[1] ) , (uint64_t)(intptr_t)page );
    143143
    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",
    145145    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    146146    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    157157                                   pid_t     * pid )     // out
    158158{
    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",
    160160    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    161161    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    178178    *error  = (error_t)rpc.args[2];     
    179179
    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",
    181181    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    182182    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    190190    pid_t       pid;       // output : process identifier
    191191
    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",
    193193    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    194194    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    209209    hal_remote_sw( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)pid );
    210210
    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",
    212212    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    213213    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    224224                              error_t     * error )   // out
    225225{
    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",
    227227    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    228228    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    244244    *error  = (error_t)rpc.args[1];     
    245245
    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",
    247247    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    248248    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    256256    error_t       error;     // local error error status
    257257
    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",
    259259    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    260260    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    278278    hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)error );
    279279
    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",
    281281    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    282282    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    291291void rpc_process_kill_client( process_t * process )
    292292{
    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",
    294294    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    295295    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    325325    }
    326326
    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",
    328328    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    329329    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    336336    process_t * process; 
    337337
    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",
    339339    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    340340    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    360360    }
    361361
    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",
    363363    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    364364    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    379379                                    error_t        * error )      // out
    380380{
    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",
    382382    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    383383    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    403403    *error     = (error_t)rpc.args[5];
    404404
    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",
    406406    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    407407    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    421421    error_t          error;
    422422
    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",
    424424    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    425425    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    456456    hal_remote_swd( XPTR( client_cxy , &desc->args[2] ) , (uint64_t)thread_xp );
    457457
    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",
    459459    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    460460    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    473473                                      error_t * error )      // out
    474474{
    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",
    476476    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    477477    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    496496    *error     = (error_t)rpc.args[4];
    497497
    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",
    499499    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    500500    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    509509    error_t          error;   
    510510
    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",
    512512    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    513513    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    533533    hal_remote_swd( XPTR( client_cxy , &desc->args[2] ) , (uint64_t)thread_xp );
    534534
    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",
    536536    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    537537    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    547547                             uint32_t    sig_id )    // in
    548548{
    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",
    550550    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    551551    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    565565    rpc_send_sync( cxy , &rpc );
    566566
    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",
    568568    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    569569    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    576576    uint32_t     sig_id;   // signal index
    577577
    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",
    579579    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    580580    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    591591    signal_rise( process , sig_id );
    592592
    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",
    594594    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    595595    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    613613                                  error_t      * error )     // out
    614614{
    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",
    616616    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    617617    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    641641    *error    = (error_t)rpc.args[9];
    642642
    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",
    644644    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    645645    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    660660    error_t          error;
    661661
    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",
    663663    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    664664    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    693693    hal_remote_swd( XPTR( client_cxy , &desc->args[9] ) , (uint64_t)error );
    694694
    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",
    696696    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    697697    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    706706                                   struct vfs_inode_s * inode )
    707707{
    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",
    709709    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    710710    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    723723    rpc_send_sync( cxy , &rpc );
    724724
    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",
    726726    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    727727    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    733733    vfs_inode_t * inode;
    734734
    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",
    736736    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    737737    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    747747    vfs_inode_destroy( inode );
    748748
    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",
    750750    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    751751    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    764764                                   error_t              * error )       // out
    765765{
    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",
    767767    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    768768    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    787787    *error     = (error_t)rpc.args[4];
    788788
    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",
    790790    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    791791    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    803803    char          name_copy[CONFIG_VFS_MAX_NAME_LENGTH];
    804804
    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",
    806806    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    807807    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    829829    hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error );
    830830
    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",
    832832    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    833833    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    843843                                    vfs_dentry_t * dentry )
    844844{
    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",
    846846    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    847847    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    860860    rpc_send_sync( cxy , &rpc );
    861861
    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",
    863863    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    864864    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    870870    vfs_dentry_t * dentry;
    871871
    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",
    873873    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    874874    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    884884    vfs_dentry_destroy( dentry );
    885885
    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",
    887887    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    888888    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    901901                                 error_t              * error )      // out
    902902{
    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",
    904904    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    905905    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    923923    *error   = (error_t)rpc.args[3];
    924924
    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",
    926926    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    927927    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    936936    error_t       error;
    937937
    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",
    939939    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    940940    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    957957    hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error );
    958958
    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",
    960960    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    961961    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    970970                                  vfs_file_t * file )
    971971{
    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",
    973973    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    974974    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    987987    rpc_send_sync( cxy , &rpc );
    988988
    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",
    990990    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    991991    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    997997    vfs_file_t * file;
    998998
    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",
    10001000    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10011001    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    10111011    vfs_file_destroy( file );
    10121012
    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",
    10141014    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10151015    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    10271027                                error_t     * error )          // out
    10281028{
    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",
    10301030    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10311031    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    10491049    *error   = (error_t)rpc.args[3];
    10501050
    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",
    10521052    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10531053    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    10641064    char          name_copy[CONFIG_VFS_MAX_NAME_LENGTH];
    10651065
    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",
    10671067    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10681068    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    10871087    hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error );
    10881088
    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",
    10901090    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    10911091    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11011101                                     error_t     * error )     // out
    11021102{
    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",
    11041104    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11051105    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11211121    *error   = (error_t)rpc.args[1];
    11221122
    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",
    11241124    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11251125    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11321132    vfs_inode_t * inode;
    11331133
    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",
    11351135    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11361136    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11491149    hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)error );
    11501150
    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",
    11521152    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11531153    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11661166                                   error_t  * error )    // out
    11671167{
    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",
    11691169    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11701170    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    11891189    *error   = (error_t)rpc.args[4];
    11901190
    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",
    11921192    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    11931193    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12031203    error_t       error;
    12041204
    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",
    12061206    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12071207    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12231223    hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error );
    12241224
    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",
    12261226    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12271227    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12391239                              error_t   * error )      // out
    12401240{
    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",
    12421242    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12431243    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12611261    *error   = (error_t)rpc.args[3];
    12621262
    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",
    12641264    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12651265    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12751275    error_t       error;
    12761276
    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",
    12781278    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12791279    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    12951295    hal_remote_swd( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error );
    12961296
    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",
    12981298    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    12991299    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    13131313                             error_t   * error )   // out
    13141314{
    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",
    13161316    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    13171317    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    13361336    *error = (error_t)rpc.args[4];
    13371337
    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",
    13391339    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    13401340    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    13501350    error_t       error;
    13511351
    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",
    13531353    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    13541354    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    13701370    hal_remote_swd( XPTR( client_cxy , &desc->args[4] ) , (uint64_t)error );
    13711371
    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",
    13731373    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    13741374    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    13841384                           xptr_t *   buf_xp )     // out
    13851385{
    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",
    13871387    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    13881388    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14041404    *buf_xp = (xptr_t)rpc.args[1];
    14051405
    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",
    14071407    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14081408    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14121412void rpc_kcm_alloc_server( xptr_t xp )
    14131413{
    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",
    14151415    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14161416    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14331433    hal_remote_swd( XPTR( client_cxy , &desc->args[1] ) , (uint64_t)buf_xp );
    14341434
    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",
    14361436    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14371437    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14471447                          uint32_t   kmem_type )   // in
    14481448{
    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",
    14501450    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14511451    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14651465    rpc_send_sync( cxy , &rpc );
    14661466
    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",
    14681468    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14691469    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14731473void rpc_kcm_free_server( xptr_t xp )
    14741474{
    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",
    14761476    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14771477    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    14911491    kmem_free( &req );
    14921492
    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",
    14941494    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    14951495    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    15101510                                    error_t  * error )        // out
    15111511{
    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",
    15131513    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    15141514    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    15351535    *error     = (error_t)rpc.args[6];
    15361536
    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",
    15381538    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    15391539    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    15521552    error_t    error;
    15531553
    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",
    15551555    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    15561556    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    15921592    hal_remote_swd( XPTR( client_cxy , &desc->args[6] ) , (uint64_t)error );
    15931593
    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",
    15951595    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    15961596    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    16071607                                 page_t         ** page )      // out
    16081608{
    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",
    16101610    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    16111611    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    16281628    *page = (page_t *)(intptr_t)rpc.args[2];
    16291629
    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",
    16311631    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    16321632    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    16361636void rpc_mapper_get_page_server( xptr_t xp )
    16371637{
    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",
    16391639    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    16401640    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    16541654    hal_remote_swd( XPTR( cxy , &desc->args[1] ) , (uint64_t)(intptr_t)page );
    16551655
    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",
    16571657    __FUNCTION__ , CURRENT_THREAD->trdid , local_cxy,
    16581658    CURRENT_THREAD->core->lid , hal_time_stamp() );
     
    16731673    reg_t      sr_save;
    16741674
    1675     rpcg_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",
    16761676    __FUNCTION__ , local_cxy , server_cxy , hal_time_stamp() );
    16771677
     
    17001700    while( error );
    17011701 
    1702     rpcg_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",
    17031703    __FUNCTION__ , desc_xp , server_cxy , hal_time_stamp() );
    17041704       
     
    17141714                    dev_pic_send_ipi( server_cxy , 0 );
    17151715
    1716                     rpcg_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",
    17171717            __FUNCTION__, local_cxy , server_cxy );
    17181718        }
     
    17291729        hal_restore_irq( sr_save );
    17301730
    1731     rpcg_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",
    17321732    __FUNCTION__ , local_cxy , server_cxy , hal_time_stamp() );
    17331733
     
    17641764        count = 0;
    17651765
    1766     rpcg_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",
    17671767    __FUNCTION__, this->trdid, local_cxy, core->lid , hal_time_stamp() );
    17681768 
     
    17811781                index = hal_remote_lw( XPTR( client_cxy , &desc->index ) );
    17821782
    1783             rpcg_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",
    17841784                     __FUNCTION__ , this->trdid , core->lid , local_cxy , index );
    17851785
     
    18501850        thread->blocked = 0;
    18511851
    1852         rpcg_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",
    18531853                          __FUNCTION__ , thread , core->gid , local_cxy , hal_time_stamp() );
    18541854    }
     
    18751875            hal_atomic_add( &LOCAL_CLUSTER->rpc_threads , 1 );
    18761876
    1877         rpcg_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",
    18781878                          __FUNCTION__ , thread->trdid, local_cxy, core->lid, hal_time_stamp() );
    18791879    }
     
    19001900    error_t      error;
    19011901
    1902     rpcg_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",
    19031903             __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() );
    19041904
     
    19061906        if( (rpc_fifo->owner != 0) || (local_fifo_is_empty( &rpc_fifo->fifo )) )
    19071907    {
    1908         rpcg_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",
    19091909                 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() );
    19101910
     
    19261926        }
    19271927
    1928         rpcg_dmsg("\n[INFO] %s : exit after RPC thread activation / "
     1928        rpc_dmsg("\n[DMSG] %s : exit after RPC thread activation / "
    19291929                 "thread %x / cluster %x / cycle %d\n",
    19301930                 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() );
     
    19341934    else  // light lock taken by another thread
    19351935    {
    1936         rpcg_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",
    19371937                 __FUNCTION__ , this->trdid , local_cxy , hal_time_stamp() );
    19381938
     
    19511951        rpc_fifo_t * rpc_fifo = &LOCAL_CLUSTER->rpc_fifo;
    19521952
    1953     rpcg_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",
    19541954             __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() );
    19551955
     
    19751975                if( LOCAL_CLUSTER->rpc_threads >= CONFIG_RPC_THREADS_MAX )
    19761976                {
    1977             rpcg_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",
    19781978                    __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() );
    19791979
     
    19861986        else
    19871987        {
    1988             rpcg_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",
    19891989                        __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() );
    19901990
     
    19921992            sched_yield( NULL );
    19931993
    1994                     rpcg_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",
    19951995                __FUNCTION__, this->trdid, local_cxy, this->core->lid, hal_time_stamp() );
    19961996        }
Note: See TracChangeset for help on using the changeset viewer.