Changeset 418 for trunk/kernel/syscalls/sys_write.c
- Timestamp:
- Jan 8, 2018, 2:25:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_write.c
r416 r418 46 46 reg_t save_sr; // required to enable IRQs during syscall 47 47 48 #if CONFIG_ SYSCALL_DEBUG48 #if CONFIG_WRITE_DEBUG 49 49 uint32_t tm_start; 50 50 uint32_t tm_end; … … 139 139 hal_fence(); 140 140 141 #if CONFIG_ SYSCALL_DEBUG141 #if CONFIG_WRITE_DEBUG 142 142 tm_end = hal_get_cycles(); 143 143 printk("\n[DBG] %s : core[%x,%d] / thread %x in process %x / cycle %d\n" … … 148 148 #endif 149 149 150 #if CONFIG_WRITE_DEBUG 151 printk("\n@@@@@@@@@@@@ timing to write character %c\n" 152 " - enter_sys_write = %d\n" 153 " - exit_sys_write = %d\n", 154 *((char *)(intptr_t)paddr) , (uint32_t)tm_start , (uint32_t)tm_end ); 155 #endif 156 150 157 return nbytes; 151 158
Note: See TracChangeset
for help on using the changeset viewer.