Ignore:
Timestamp:
Aug 16, 2017, 2:54:04 PM (5 years ago)
Author:
alain
Message:

Update the RPC_VMM_GET_VSEG.

File:
1 edited

Legend:

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

    r313 r389  
    7676    RPC_FATFS_GET_CLUSTER      = 18,
    7777
    78     RPC_VMM_GET_REF_VSEG       = 20,
     78    RPC_VMM_GET_VSEG           = 20,
    7979    RPC_VMM_GET_PTE            = 21,
    8080    RPC_KCM_ALLOC              = 22,
     
    479479
    480480/***********************************************************************************
    481  * [20] The RPC_VMM_GET_REF_VSEG returns an extended pointer
     481 * [20] The RPC_VMM_GET_VSEG returns an extended pointer
    482482 * on the vseg containing a given virtual address in a given process.
    483483 * The server cluster is supposed to be the reference cluster.
    484  * It returns XPTR_NULL if no vseg has been founded.
     484 * It returns a non zero error value if no vseg has been founded.
    485485 ***********************************************************************************
    486486 * @ cxy     : server cluster identifier.
     
    488488 * @ vaddr   : [in]   virtual address to be searched.
    489489 * @ vseg_xp : [out]  buffer for extended pointer on vseg in client cluster.
    490  **********************************************************************************/
    491 void rpc_vmm_get_ref_vseg_client( cxy_t              cxy,
    492                                   struct process_s * process,
    493                                   intptr_t           vaddr,
    494                                   xptr_t           * vseg_xp );
    495 
    496 void rpc_vmm_get_ref_vseg_server( xptr_t xp );
     490 * @ error   : [out] local pointer on buffer for error code (in client cluster).
     491 **********************************************************************************/
     492void rpc_vmm_get_vseg_client( cxy_t              cxy,
     493                              struct process_s * process,
     494                              intptr_t           vaddr,
     495                              xptr_t           * vseg_xp,
     496                              error_t            error );
     497
     498void rpc_vmm_get_vseg_server( xptr_t xp );
    497499
    498500/***********************************************************************************
Note: See TracChangeset for help on using the changeset viewer.