Ignore:
Timestamp:
Dec 3, 2018, 12:19:16 PM (6 years ago)
Author:
alain
Message:

Improve the FAT32 file system to support cat, rm, cp commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_mmc.c

    r565 r605  
    103103uint32_t cycle = (uint32_t)hal_get_cycles();
    104104if( DEBUG_DEV_MMC < cycle )
    105 printk("\n[DBG] %s : thread %x enters / process %x / buf_xp = %l\n",
    106 __FUNCTION__, this, this->process->pid , buf_xp );
     105printk("\n[%s] thread[%x,%x] enters / cluster %x / buffer %x\n",
     106__FUNCTION__, this->process->pid, this->trdid, GET_CXY(buf_xp), GET_PTR(buf_xp) );
    107107#endif
    108108
     
    126126cycle = (uint32_t)hal_get_cycles();
    127127if( DEBUG_DEV_MMC < cycle )
    128 printk("\n[DBG] %s : thread %x exit / process %x / buf_xp = %l\n",
    129 __FUNCTION__, this, this->process->pid , buf_xp );
     128printk("\n[%s] thread[%x,%x] exit / cluster %x / buffer %x\n",
     129__FUNCTION__, this->process->pid, this->trdid, GET_CXY(buf_xp), GET_PTR(buf_xp) );
    130130#endif
    131131
     
    144144uint32_t cycle = (uint32_t)hal_get_cycles();
    145145if( DEBUG_DEV_MMC < cycle )
    146 printk("\n[DBG] %s : thread %x enters / process %x / buf_xp = %l\n",
    147 __FUNCTION__, this, this->process->pid , buf_xp );
     146printk("\n[%s] thread[%x,%x] enters / cluster %x / buffer %x\n",
     147__FUNCTION__, this->process->pid, this->trdid, GET_CXY(buf_xp), GET_PTR(buf_xp) );
    148148#endif
    149149
     
    167167cycle = (uint32_t)hal_get_cycles();
    168168if( DEBUG_DEV_MMC < cycle )
    169 printk("\n[DBG] %s : thread %x exit / process %x / buf_xp = %l\n",
    170 __FUNCTION__, this, this->process->pid , buf_xp );
     169printk("\n[%s] thread[%x,%x] exit / cluster %x / buffer %x\n",
     170__FUNCTION__, this->process->pid, this->trdid, GET_CXY(buf_xp), GET_PTR(buf_xp) );
    171171#endif
    172172
Note: See TracChangeset for help on using the changeset viewer.