Ignore:
Timestamp:
Jun 29, 2017, 4:44:52 PM (7 years ago)
Author:
alain
Message:

euh...

File:
1 edited

Legend:

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

    r50 r101  
    103103
    104104    cluster_dmsg("\n[INFO] %s : PPM initialized in cluster %x at cycle %d\n",
    105                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     105                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    106106
    107107    // initialises embedded KHM
     
    109109
    110110    cluster_dmsg("\n[INFO] %s : KHM initialized in cluster %x at cycle %d\n",
    111                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     111                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    112112
    113113    // initialises embedded KCM
     
    115115
    116116    cluster_dmsg("\n[INFO] %s : KCM initialized in cluster %x at cycle %d\n",
    117                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     117                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    118118
    119119    // initialises all cores descriptors
     
    126126
    127127    cluster_dmsg("\n[INFO] %s : cores initialized in cluster %x at cycle %d\n",
    128                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     128                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    129129
    130130    // initialises RPC fifo
     
    132132
    133133    cluster_dmsg("\n[INFO] %s : RPC fifo inialized in cluster %x at cycle %d\n",
    134                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     134                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    135135
    136136    // initialise pref_tbl[] in process manager
     
    149149
    150150    // initialise copies_lists in process manager
    151     for( lpid = 1 ; lpid < CONFIG_MAX_PROCESS_PER_CLUSTER ; lpid++ )
     151    for( lpid = 0 ; lpid < CONFIG_MAX_PROCESS_PER_CLUSTER ; lpid++ )
    152152    {
    153153            remote_spinlock_init( XPTR( local_cxy , &cluster->pmgr.copies_lock[lpid] ) );
     
    157157
    158158    cluster_dmsg("\n[INFO] %s Process Manager initialized in cluster %x at cycle %d\n",
    159                  __FUNCTION__ , local_cxy , hal_time_stamp() );
     159                 __FUNCTION__ , local_cxy , hal_get_cycles() );
    160160
    161161    hal_wbflush();
Note: See TracChangeset for help on using the changeset viewer.