Changeset 628 for trunk/kernel/kern
- Timestamp:
- May 6, 2019, 1:28:01 PM (6 years ago)
- Location:
- trunk/kernel/kern
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r626 r628 162 162 "PROCESS_USERSYNC", // 26 163 163 "PROCESS_FDARRAY", // 27 164 " FATFS_FREE",// 28165 " PROCESS_DIR",// 29164 "PROCESS_DIR", // 28 165 "unused_29", // 29 166 166 167 167 "PROCESS_THTBL", // 30 … … 173 173 "VMM_GPT", // 35 174 174 "VFS_MAIN", // 36 175 "FATFS_FAT", // 37 175 176 }; 176 177 -
trunk/kernel/kern/rpc.c
r625 r628 1735 1735 error_t * error ) // out 1736 1736 { 1737 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1738 thread_t * this = CURRENT_THREAD; 1739 uint32_t cycle = (uint32_t)hal_get_cycles(); 1740 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1737 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1738 thread_t * this = CURRENT_THREAD; 1739 uint32_t cycle = (uint32_t)hal_get_cycles(); 1740 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1741 1741 printk("\n[%s] thread[%x,%x] on core %d enter / cycle %d\n", 1742 1742 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1747 1747 // initialise RPC descriptor header 1748 1748 rpc_desc_t rpc; 1749 rpc.index = RPC_VFS_FS_ GET_DENTRY;1749 rpc.index = RPC_VFS_FS_NEW_DENTRY; 1750 1750 rpc.blocking = true; 1751 1751 rpc.rsp = &responses; … … 1762 1762 *error = (error_t)rpc.args[3]; 1763 1763 1764 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1765 cycle = (uint32_t)hal_get_cycles(); 1766 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1764 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1765 cycle = (uint32_t)hal_get_cycles(); 1766 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1767 1767 printk("\n[%s] thread[%x,%x] on core %d exit / cycle %d\n", 1768 1768 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1773 1773 void rpc_vfs_fs_new_dentry_server( xptr_t xp ) 1774 1774 { 1775 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1776 thread_t * this = CURRENT_THREAD; 1777 uint32_t cycle = (uint32_t)hal_get_cycles(); 1778 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1775 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1776 thread_t * this = CURRENT_THREAD; 1777 uint32_t cycle = (uint32_t)hal_get_cycles(); 1778 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1779 1779 printk("\n[%s] thread[%x,%x] on core %d enter / cycle %d\n", 1780 1780 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1807 1807 hal_remote_s64( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error ); 1808 1808 1809 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1810 cycle = (uint32_t)hal_get_cycles(); 1811 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1809 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1810 cycle = (uint32_t)hal_get_cycles(); 1811 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1812 1812 printk("\n[%s] thread[%x,%x] on core %d exit / cycle %d\n", 1813 1813 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); -
trunk/kernel/kern/rpc.h
r625 r628 77 77 RPC_VFS_FILE_CREATE = 14, 78 78 RPC_VFS_FILE_DESTROY = 15, 79 RPC_VFS_FS_ GET_DENTRY = 16,79 RPC_VFS_FS_NEW_DENTRY = 16, 80 80 RPC_VFS_FS_ADD_DENTRY = 17, 81 81 RPC_VFS_FS_REMOVE_DENTRY = 18,
Note: See TracChangeset
for help on using the changeset viewer.