Ignore:
Timestamp:
May 9, 2018, 3:13:56 PM (4 years ago)
Author:
alain
Message:

Fix a bug in rpc_vmm_get_pte_client() function (bad RPC index).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_read.c

    r440 r441  
    223223if( DEBUG_SYS_READ < tm_end )
    224224printk("\n[DBG] %s : thread %x exit / process %x / cycle %d\n"
    225 "nbytes = %d / first byte = %c / file_id = %d / cost = %d\n",
     225"nbytes = %d / file_id = %d / cost = %d\n",
    226226__FUNCTION__ , this, process->pid,
    227 (uint32_t)tm_start , nbytes , *((char *)(intptr_t)paddr) , file_id ,
    228 (uint32_t)(tm_end - tm_start) );
     227(uint32_t)tm_start , nbytes , file_id , (uint32_t)(tm_end - tm_start) );
    229228#endif
    230229
     
    232231exit_sys_read = (uint32_t)tm_end;
    233232
    234 printk("\n@@@@@@@@@@@@ timing to read character %c\n"
     233printk("\n@@@@@@@@@@@@ timing to read character\n"
    235234" - enter_sys_read          = %d / delta %d\n"
    236235" - enter_devfs_read        = %d / delta %d\n"
     
    247246" - exit_devfs_read         = %d / delta %d\n"
    248247" - exit_sys_read           = %d / delta %d\n",
    249 *((char *)(intptr_t)paddr) ,
    250248enter_sys_read          , 0 ,
    251249enter_devfs_read        , enter_devfs_read        - enter_sys_read          ,
Note: See TracChangeset for help on using the changeset viewer.