Ignore:
Timestamp:
Jul 21, 2017, 7:36:08 AM (7 years ago)
Author:
alain
Message:

Fix several bugs in VFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/rpc.h

    r238 r265  
    7979    RPC_KCM_ALLOC              = 22,
    8080    RPC_KCM_FREE               = 23,
    81     RPC_MAPPER_MOVE            = 24,
     81    RPC_MAPPER_MOVE_BUFFER     = 24,
    8282
    8383    RPC_MAX_INDEX              = 30,
     
    551551
    552552/***********************************************************************************
    553  * [24] The RPC_MAPPER_MOVE is called by the vfs_move() function.
     553 * [24] The RPC_MAPPER_MOVE_USER is called by the vfs_move() function.
    554554 * It allows a client thread to requires a remote mapper to move data to/from
    555555 * an user buffer, as specified by the arguments.
     
    558558 * @ mapper      : [in]  local pointer on mapper
    559559 * @ to_buffer   : [in]  move data from buffer to mapper if non zero.
     560 * @ is_user     : [in]  buffer in user space if non zero.
    560561 * @ file_offset : [in]  first byte to move in mapper
    561562 * @ buffer      : [in]  pointer on buffer in user space
     
    563564 * @ error       : [out] error status (0 if success).
    564565 **********************************************************************************/
    565 void rpc_mapper_move_client( cxy_t             cxy,
    566                              struct mapper_s * mapper,
    567                              uint32_t          to_buffer,
    568                              uint32_t          file_offset,
    569                              void            * buffer,
    570                              uint32_t          size,
    571                              error_t         * error );
    572 
    573 void rpc_mapper_move_server( xptr_t xp );
     566void rpc_mapper_move_buffer_client( cxy_t             cxy,
     567                                    struct mapper_s * mapper,
     568                                    bool_t            to_buffer,
     569                                    bool_t            is_user,
     570                                    uint32_t          file_offset,
     571                                    void            * buffer,
     572                                    uint32_t          size,
     573                                    error_t         * error );
     574
     575void rpc_mapper_move_buffer_server( xptr_t xp );
    574576
    575577
Note: See TracChangeset for help on using the changeset viewer.