Ignore:
Timestamp:
Oct 10, 2020, 5:11:27 PM (4 years ago)
Author:
alain
Message:
  • Introduce the sys_socket.c file implementing all socket related syscalls.
  • Improve the non-standard sys_get_config() function.
File:
1 edited

Legend:

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

    r656 r664  
    8282 
    8383#if (DEBUG_SYS_WRITE & 1)
     84if( DEBUG_SYS_WRITE < tm_start )
    8485enter_sys_write = (uint32_t)tm_start;
    8586#endif
     
    112113
    113114    // get extended pointer on remote file descriptor
    114     file_xp = process_fd_get_xptr( process , file_id );
     115    file_xp = process_fd_get_xptr_from_local( process , file_id );
    115116
    116117    if( file_xp == XPTR_NULL )
     
    215216
    216217#if (DEBUG_SYS_WRITE & 1)
     218if( DEBUG_SYS_WRITE < tm_start )
    217219exit_sys_write = (uint32_t)tm_end;
    218220
     221if( DEBUG_SYS_WRITE < tm_start )
    219222printk("\n***** timing to write a string *****\n"
    220223" - enter_sys_write          = %d / delta %d\n"
Note: See TracChangeset for help on using the changeset viewer.