Changeset 438 for trunk/kernel/devices/dev_mmc.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_mmc.c
r437 r438 99 99 thread_t * this = CURRENT_THREAD; 100 100 101 #if CONFIG_DEBUG_DEV_MMC101 #if DEBUG_DEV_MMC 102 102 uint32_t cycle = (uint32_t)hal_get_cycles(); 103 if( CONFIG_DEBUG_DEV_MMC < cycle )103 if( DEBUG_DEV_MMC < cycle ) 104 104 printk("\n[DBG] %s : thread %x enters / process %x / buf_xp = %l\n", 105 105 __FUNCTION__, this, this->process->pid , buf_xp ); … … 128 128 error = dev_mmc_access( this ); 129 129 130 #if CONFIG_DEBUG_DEV_MMC130 #if DEBUG_DEV_MMC 131 131 cycle = (uint32_t)hal_get_cycles(); 132 if( CONFIG_DEBUG_DEV_MMC < cycle )132 if( DEBUG_DEV_MMC < cycle ) 133 133 printk("\n[DBG] %s : thread %x exit / process %x / buf_xp = %l\n", 134 134 __FUNCTION__, this, this->process->pid , buf_xp ); … … 147 147 thread_t * this = CURRENT_THREAD; 148 148 149 #if CONFIG_DEBUG_DEV_MMC149 #if DEBUG_DEV_MMC 150 150 uint32_t cycle = (uint32_t)hal_get_cycles(); 151 if( CONFIG_DEBUG_DEV_MMC < cycle )151 if( DEBUG_DEV_MMC < cycle ) 152 152 printk("\n[DBG] %s : thread %x enters / process %x / buf_xp = %l\n", 153 153 __FUNCTION__, this, this->process->pid , buf_xp ); … … 176 176 error = dev_mmc_access( this ); 177 177 178 #if CONFIG_DEBUG_DEV_MMC178 #if DEBUG_DEV_MMC 179 179 cycle = (uint32_t)hal_get_cycles(); 180 if( CONFIG_DEBUG_DEV_MMC < cycle )180 if( DEBUG_DEV_MMC < cycle ) 181 181 printk("\n[DBG] %s : thread %x exit / process %x / buf_xp = %l\n", 182 182 __FUNCTION__, this, this->process->pid , buf_xp );
Note: See TracChangeset
for help on using the changeset viewer.