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/kernel_init.c

    r401 r406  
    137137           "    /_/        \\_\\ |______| |_|    |_|   \\_____/  |______/        |_|    |_|  |_|  \\_\\ |_|   |_|  \n"
    138138           "\n\n\t\t Advanced Locality Management Operating System / Multi Kernel Hybrid\n"
    139            "\n\n\t\t\t Version 0.0 : %d cluster(s)   /  %d core(s) per cluster\n\n", nclusters , ncores );
     139           "\n\n\t\t\t Version 0.0 / %d cluster(s) / %d core(s) per cluster\n\n", nclusters , ncores );
    140140}
    141141
     
    274274
    275275#if( CONFIG_KINIT_DEBUG > 1 )
    276 printk("\n[INFO] %s : created MMC in cluster %x / chdev = %x\n",
     276printk("\n[DMSG] %s : created MMC in cluster %x / chdev = %x\n",
    277277__FUNCTION__ , channel , local_cxy , chdev_ptr );
    278278#endif
     
    302302
    303303#if( CONFIG_KINIT_DEBUG > 1 )
    304 printk("\n[INFO] %s : created DMA[%d] in cluster %x / chdev = %x\n",
     304printk("\n[DMSG] %s : created DMA[%d] in cluster %x / chdev = %x\n",
    305305__FUNCTION__ , channel , local_cxy , chdev_ptr );
    306306#endif
     
    436436
    437437#if( CONFIG_KINIT_DEBUG > 1 )
    438 printk("\n[INFO] %s : create chdev %s[%d] in cluster %x / chdev = %x\n",
     438printk("\n[DMSG] %s : create chdev %s[%d] in cluster %x / chdev = %x\n",
    439439__FUNCTION__ , chdev_func_str( func ), channel , local_cxy , chdev );
    440440#endif
     
    554554
    555555#if( CONFIG_KINIT_DEBUG > 1 )
    556 printk("\n[INFO] %s created PIC chdev in cluster %x at cycle %d\n",
     556printk("\n[DMSG] %s created PIC chdev in cluster %x at cycle %d\n",
    557557__FUNCTION__ , local_cxy , (uint32_t)hal_time_stamp() );
    558558#endif
     
    728728
    729729    if( (core_lid ==  0) && (local_cxy == 0) )
    730     kinit_dmsg("\n[INFO] %s : exit barrier 0 : TXT0 initialized / cycle %d\n",
     730    printk("\n[KINIT] %s : exit barrier 0 : TXT0 initialized / cycle %d\n",
    731731    __FUNCTION__, hal_time_stamp() );
    732732
     
    762762
    763763    if( (core_lid ==  0) && (local_cxy == 0) )
    764     kinit_dmsg("\n[INFO] %s : exit barrier 1 : clusters initialised / cycle %d\n",
     764    printk("\n[KINIT] %s : exit barrier 1 : clusters initialised / cycle %d\n",
    765765    __FUNCTION__, hal_time_stamp() );
    766766
     
    787787
    788788    if( (core_lid ==  0) && (local_cxy == 0) )
    789     kinit_dmsg("\n[INFO] %s : exit barrier 2 : PIC initialised / cycle %d\n",
     789    printk("\n[KINIT] %s : exit barrier 2 : PIC initialised / cycle %d\n",
    790790    __FUNCTION__, hal_time_stamp() );
    791791
     
    818818
    819819    if( (core_lid ==  0) && (local_cxy == 0) )
    820     kinit_dmsg("\n[INFO] %s : exit barrier 3 : all chdev initialised / cycle %d\n",
     820    printk("\n[KINIT] %s : exit barrier 3 : all chdev initialised / cycle %d\n",
    821821               __FUNCTION__, hal_time_stamp());
    822822
     
    829829    /////////////////////////////////////////////////////////////////////////////////
    830830
    831 #if( CONFIG_KINIT_DEBUG > 1 )
     831#if CONFIG_KINIT_DEBUG
    832832chdev_dir_display();
    833833#endif
     
    856856    core->scheduler.idle = thread;
    857857
    858 #if( CONFIG_KINIT_DEBUG > 1 )
     858#if CONFIG_KINIT_DEBUG
    859859sched_display();
    860860#endif
     
    928928
    929929    if( (core_lid ==  0) && (local_cxy == 0) )
    930     kinit_dmsg("\n[INFO] %s : exit barrier 4 : VFS_root = %l in cluster 0 / cycle %d\n",
     930    printk("\n[KINIT] %s : exit barrier 4 : VFS_root = %l in cluster 0 / cycle %d\n",
    931931               __FUNCTION__, vfs_root_inode_xp , hal_time_stamp());
    932932
     
    987987
    988988    if( (core_lid ==  0) && (local_cxy == 0) )
    989     kinit_dmsg("\n[INFO] %s : exit barrier 5 : VFS_root = %l in cluster IO / cycle %d\n",
     989    printk("\n[KINIT] %s : exit barrier 5 : VFS_root = %l in cluster IO / cycle %d\n",
    990990    __FUNCTION__, vfs_root_inode_xp , hal_time_stamp() );
    991991
     
    10201020
    10211021    if( (core_lid ==  0) && (local_cxy == 0) )
    1022     kinit_dmsg("\n[INFO] %s : exit barrier 6 : dev_root = %l in cluster IO / cycle %d\n",
     1022    printk("\n[KINIT] %s : exit barrier 6 : dev_root = %l in cluster IO / cycle %d\n",
    10231023    __FUNCTION__, devfs_dev_inode_xp , hal_time_stamp() );
    10241024
     
    10571057
    10581058    if( (core_lid ==  0) && (local_cxy == 0) )
    1059     kinit_dmsg("\n[INFO] %s : exit barrier 7 : dev_root = %l in cluster 0 / cycle %d\n",
     1059    printk("\n[KINIT] %s : exit barrier 7 : dev_root = %l in cluster 0 / cycle %d\n",
    10601060    __FUNCTION__, devfs_dev_inode_xp , hal_time_stamp() );
    10611061
     
    10761076
    10771077    if( (core_lid ==  0) && (local_cxy == 0) )
    1078     kinit_dmsg("\n[INFO] %s : exit barrier 8 : process init created / cycle %d\n",
     1078    printk("\n[KINIT] %s : exit barrier 8 : process init created / cycle %d\n",
    10791079    __FUNCTION__ , hal_time_stamp() );
    10801080
     
    10871087        print_banner( (info->x_size * info->y_size) , info->cores_nr );
    10881088
     1089#if CONFIG_KINIT_DEBUG
     1090
    10891091        vfs_display( vfs_root_inode_xp );
    1090        
    1091         kinit_dmsg("\n\n***** memory fooprint for main kernel objects\n\n"
     1092
     1093        printk("\n\n***** memory fooprint for main kernel objects\n\n"
    10921094                   " - thread descriptor  : %d bytes\n"
    10931095                   " - process descriptor : %d bytes\n"
     
    11301132                   sizeof( rwlock_t          ),
    11311133                   sizeof( remote_rwlock_t   ));
     1134#endif
     1135
    11321136    }
    11331137
Note: See TracChangeset for help on using the changeset viewer.