Changeset 438 for trunk/kernel/devices/dev_fbf.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_fbf.c
r437 r438 177 177 { 178 178 179 #if CONFIG_DEBUG_DEV_FBF_RX179 #if DEBUG_DEV_FBF_RX 180 180 uint32_t cycle = (uint32_t)hal_get_cycle(); 181 if( CONFIG_DEBUG_DEV_FBF_RX < cycle )181 if( DEBUG_DEV_FBF_RX < cycle ) 182 182 printk("\n[DBG] %s : thread %x enter / process %x / vaddr %x / size %x\n", 183 183 __FUNCTION__ , this, this->process->pid , buffer , buf_paddr ); … … 186 186 return dev_fbf_access( false , buffer , length , offset ); 187 187 188 #if CONFIG_DEBUG_DEV_FBF_RX188 #if DEBUG_DEV_FBF_RX 189 189 cycle = (uint32_t)hal_get_cycle(); 190 if( CONFIG_DEBUG_DEV_FBF_RX < cycle )190 if( DEBUG_DEV_FBF_RX < cycle ) 191 191 printk("\n[DBG] %s : thread %x exit / process %x / vaddr %x / size %x\n", 192 192 __FUNCTION__ , this, this->process->pid , buffer , buf_paddr ); … … 201 201 { 202 202 203 #if CONFIG_DEBUG_DEV_FBF_TX203 #if DEBUG_DEV_FBF_TX 204 204 uint32_t cycle = (uint32_t)hal_get_cycle(); 205 if( CONFIG_DEBUG_DEV_FBF_TX < cycle )205 if( DEBUG_DEV_FBF_TX < cycle ) 206 206 printk("\n[DBG] %s : thread %x enter / process %x / vaddr %x / size %x\n", 207 207 __FUNCTION__ , this, this->process->pid , buffer , buf_paddr ); … … 210 210 return dev_fbf_access( true , buffer , length , offset ); 211 211 212 #if CONFIG_DEBUG_DEV_FBF_RX212 #if DEBUG_DEV_FBF_RX 213 213 cycle = (uint32_t)hal_get_cycle(); 214 if( CONFIG_DEBUG_DEV_FBF_RX < cycle )214 if( DEBUG_DEV_FBF_RX < cycle ) 215 215 printk("\n[DBG] %s : thread %x exit / process %x / vaddr %x / size %x\n", 216 216 __FUNCTION__ , this, this->process->pid , buffer , buf_paddr );
Note: See TracChangeset
for help on using the changeset viewer.