Changeset 313 for trunk/kernel/vfs/vfs.h


Ignore:
Timestamp:
Aug 2, 2017, 3:24:57 PM (5 years ago)
Author:
alain
Message:

RSeveral modifs in the page-fault handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/vfs/vfs.h

    r296 r313  
    732732
    733733/******************************************************************************************
    734  * This function moves <size> bytes between the file identified by the open file descriptor
    735  * <file_xp> and a local kernel or user <buffer>, as defined by the <is_user> argument,
    736  * and taken into account the offset in <file_xp>.
    737  * The transfer direction is defined by the <to_buffer> argument.
     734 * This function moves <size> bytes between a remote file mapper, identified by the
     735 * <file_xp> argument, and a - possibly distributed - user space <buffer>, taken into
     736 * account the offset in <file_xp>. The transfer direction is defined by <to_buffer>.
     737 * This function is called by the sys_read() and sys_write() system calls.
    738738 ******************************************************************************************
    739739 * @ to_buffer : mapper -> buffer if true / buffer -> mapper if false.
    740  * @ is_user   : user space buffer if true / local kernel buffer if false.
    741740 * @ file_xp   : extended pointer on the remote file descriptor.
    742  * @ buffer    : local pointer on buffer.
     741 * @ buffer    : user space pointer on buffer (can be physically distributed).
    743742 * @ size      : requested number of bytes from offset.
    744743 * @ returns number of bytes actually transfered / -1 if error.
    745744 *****************************************************************************************/
    746 error_t vfs_move( bool_t   to_buffer,
    747                   bool_t   is_user,
    748                   xptr_t   file_xp,
    749                   void   * buffer,
    750                   uint32_t size );
     745error_t vfs_user_move( bool_t   to_buffer,
     746                       xptr_t   file_xp,
     747                       void   * buffer,
     748                       uint32_t size );
    751749
    752750/******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.