Changeset 647 for trunk/kernel/kern
- Timestamp:
- Oct 22, 2019, 1:48:51 PM (5 years ago)
- Location:
- trunk/kernel/kern
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/do_syscall.c
r641 r647 111 111 sys_get_nb_cores, // 54 112 112 sys_get_thread_info, // 55 113 sys_fbf, // 56 113 114 }; 114 115 … … 179 180 case SYS_GET_NB_CORES: return "GET_NB_CORES"; // 54 180 181 case SYS_GET_THREAD_INFO: return "GET_THREAD_INFO"; // 55 182 case SYS_FBF: return "FBF"; // 56 181 183 182 184 default: return "undefined"; -
trunk/kernel/kern/kernel_init.c
r640 r647 561 561 if( target_cxy == local_cxy ) 562 562 { 563 564 #if( DEBUG_KERNEL_INIT & 0x3 ) 565 if( hal_time_stamp() > DEBUG_KERNEL_INIT ) 566 printk("\n[%s] : found chdev %s / channel = %d / rx = %d / cluster %x\n", 567 __FUNCTION__ , chdev_func_str( func ), channel , rx , local_cxy ); 568 #endif 563 569 chdev = chdev_create( func, 564 570 impl, … … 608 614 } 609 615 610 #if( DEBUG_KERNEL_INIT & 0x 1)616 #if( DEBUG_KERNEL_INIT & 0x3 ) 611 617 if( hal_time_stamp() > DEBUG_KERNEL_INIT ) 612 printk("\n[%s] : create chdev %s / channel = %d / rx = %d / cluster %x / chdev = %x\n",618 printk("\n[%s] : created chdev %s / channel = %d / rx = %d / cluster %x / chdev = %x\n", 613 619 __FUNCTION__ , chdev_func_str( func ), channel , rx , local_cxy , chdev ); 614 620 #endif -
trunk/kernel/kern/thread.c
r641 r647 942 942 uint32_t global_one = global_nr ? (global_cost / global_nr) : 0; 943 943 944 printk("\n***** thread[%x,%x] page -faults\n"944 printk("\n***** thread[%x,%x] page faults\n" 945 945 " - false : %d events / cost %d cycles / max %d cycles\n" 946 946 " - local : %d events / cost %d cycles / max %d cycles\n" -
trunk/kernel/kern/thread.h
r641 r647 183 183 mmc_command_t mmc_cmd; /*! MMC device generic command */ 184 184 dma_command_t dma_cmd; /*! DMA device generic command */ 185 fbf_command_t fbf_cmd; /*! FBF device generic command */ 185 186 186 187 xptr_t rpc_client_xp; /*! client thread (for a RPC thread only) */
Note: See TracChangeset
for help on using the changeset viewer.