Changeset 418 for trunk/kernel/kern/chdev.c
- Timestamp:
- Jan 8, 2018, 2:25:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/chdev.c
r408 r418 123 123 uint32_t save_sr; // for critical section 124 124 125 #if CONFIG_READ_DEBUG 126 enter_chdev_cmd = hal_time_stamp(); 127 #endif 128 125 129 thread_t * this = CURRENT_THREAD; 126 130 … … 187 191 hal_restore_irq( save_sr ); 188 192 193 #if CONFIG_READ_DEBUG 194 exit_chdev_cmd = hal_time_stamp(); 195 #endif 196 189 197 } // end chdev_register_command() 190 198 … … 253 261 xlist_unlink( XPTR( client_cxy , &client_ptr->wait_list ) ); 254 262 remote_spinlock_unlock( lock_xp ); 263 264 // unblock client thread 265 thread_unblock( client_xp , THREAD_BLOCKED_IO ); 255 266 256 267 chdev_dmsg("\n[DBG] %s : thread %x complete operation for client %x / cycle %d\n",
Note: See TracChangeset
for help on using the changeset viewer.