Changeset 406 for trunk/kernel/kern/kernel_init.c
- Timestamp:
- Aug 29, 2017, 12:03:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r401 r406 137 137 " /_/ \\_\\ |______| |_| |_| \\_____/ |______/ |_| |_| |_| \\_\\ |_| |_| \n" 138 138 "\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 ); 140 140 } 141 141 … … 274 274 275 275 #if( CONFIG_KINIT_DEBUG > 1 ) 276 printk("\n[ INFO] %s : created MMC in cluster %x / chdev = %x\n",276 printk("\n[DMSG] %s : created MMC in cluster %x / chdev = %x\n", 277 277 __FUNCTION__ , channel , local_cxy , chdev_ptr ); 278 278 #endif … … 302 302 303 303 #if( CONFIG_KINIT_DEBUG > 1 ) 304 printk("\n[ INFO] %s : created DMA[%d] in cluster %x / chdev = %x\n",304 printk("\n[DMSG] %s : created DMA[%d] in cluster %x / chdev = %x\n", 305 305 __FUNCTION__ , channel , local_cxy , chdev_ptr ); 306 306 #endif … … 436 436 437 437 #if( CONFIG_KINIT_DEBUG > 1 ) 438 printk("\n[ INFO] %s : create chdev %s[%d] in cluster %x / chdev = %x\n",438 printk("\n[DMSG] %s : create chdev %s[%d] in cluster %x / chdev = %x\n", 439 439 __FUNCTION__ , chdev_func_str( func ), channel , local_cxy , chdev ); 440 440 #endif … … 554 554 555 555 #if( CONFIG_KINIT_DEBUG > 1 ) 556 printk("\n[ INFO] %s created PIC chdev in cluster %x at cycle %d\n",556 printk("\n[DMSG] %s created PIC chdev in cluster %x at cycle %d\n", 557 557 __FUNCTION__ , local_cxy , (uint32_t)hal_time_stamp() ); 558 558 #endif … … 728 728 729 729 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", 731 731 __FUNCTION__, hal_time_stamp() ); 732 732 … … 762 762 763 763 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", 765 765 __FUNCTION__, hal_time_stamp() ); 766 766 … … 787 787 788 788 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", 790 790 __FUNCTION__, hal_time_stamp() ); 791 791 … … 818 818 819 819 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", 821 821 __FUNCTION__, hal_time_stamp()); 822 822 … … 829 829 ///////////////////////////////////////////////////////////////////////////////// 830 830 831 #if ( CONFIG_KINIT_DEBUG > 1 )831 #if CONFIG_KINIT_DEBUG 832 832 chdev_dir_display(); 833 833 #endif … … 856 856 core->scheduler.idle = thread; 857 857 858 #if ( CONFIG_KINIT_DEBUG > 1 )858 #if CONFIG_KINIT_DEBUG 859 859 sched_display(); 860 860 #endif … … 928 928 929 929 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", 931 931 __FUNCTION__, vfs_root_inode_xp , hal_time_stamp()); 932 932 … … 987 987 988 988 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", 990 990 __FUNCTION__, vfs_root_inode_xp , hal_time_stamp() ); 991 991 … … 1020 1020 1021 1021 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", 1023 1023 __FUNCTION__, devfs_dev_inode_xp , hal_time_stamp() ); 1024 1024 … … 1057 1057 1058 1058 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", 1060 1060 __FUNCTION__, devfs_dev_inode_xp , hal_time_stamp() ); 1061 1061 … … 1076 1076 1077 1077 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", 1079 1079 __FUNCTION__ , hal_time_stamp() ); 1080 1080 … … 1087 1087 print_banner( (info->x_size * info->y_size) , info->cores_nr ); 1088 1088 1089 #if CONFIG_KINIT_DEBUG 1090 1089 1091 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" 1092 1094 " - thread descriptor : %d bytes\n" 1093 1095 " - process descriptor : %d bytes\n" … … 1130 1132 sizeof( rwlock_t ), 1131 1133 sizeof( remote_rwlock_t )); 1134 #endif 1135 1132 1136 } 1133 1137
Note: See TracChangeset
for help on using the changeset viewer.