Changeset 641 for trunk/kernel/kern/rpc.h
- Timestamp:
- Oct 10, 2019, 1:42:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r640 r641 130 130 * the caller. It exit with a Panic message if remote fifo is still full after 131 131 * (CONFIG_RPC_PUT_MAX_ITERATIONS) retries. 132 * - When the RPC <blocking> field is true, this function blocks and deschedule .133 * It returns only when the server acknowledges the RPC by writing in the RPC134 * "response" field, and unblocks the client.132 * - When the RPC <blocking> field is true, this function blocks and deschedule 133 * the client thread. It returns only when the server completes the RPC and 134 * unblocks the client thread. 135 135 * - When the <blocking> field is false, this function returns as soon as the RPC 136 * has been registered in the FIFO, and the server thread must directly signal137 * completion to the client thread.136 * has been registered in the FIFO, and the client thread must block itself when 137 * all RPCS have been registered in all target clusters. 138 138 *********************************************************************************** 139 139 * @ cxy : server cluster identifier … … 520 520 521 521 /*********************************************************************************** 522 * [25] The RPC_VMM_RESIZE_VSEG allows a client thread to request a remote vseg 523 * resize. Both the VSL and the GPT are updated in the remote cluster. 522 * [25] The RPC_VMM_RESIZE_VSEG allows a client thread to request a remote cluster 523 * to resize a vseg identified by the <base> argument in a process descriptor 524 * identified by the <pid> argument, as defined by the <new_base> and <new_size> 525 * arguments. Both the VSL and the GPT are updated in the remote cluster. 524 526 *********************************************************************************** 525 527 * @ cxy : server cluster identifier. 526 * @ p rocess : [in] local pointer on remote process.527 * @ vseg : [in] local pointer on remote vseg.528 * @ new_base : [in] new vseg base address.528 * @ pid : [in] process identifier. 529 * @ base : [in] vseg base. 530 * @ new_base : [in] new vseg base. 529 531 * @ new_size : [in] new vseg size. 530 532 **********************************************************************************/ 531 533 void rpc_vmm_resize_vseg_client( cxy_t cxy, 532 struct process_s * process,533 struct vseg_s * vseg,534 pid_t pid, 535 intptr_t base, 534 536 intptr_t new_base, 535 537 intptr_t new_size ); … … 538 540 539 541 /*********************************************************************************** 540 * [26] The RPC_VMM_REMOVE_VSEG allows a client thread to request a remote vseg 541 * delete. Bothe the VSL and the GPT are updated in the remote cluster. 542 *********************************************************************************** 543 * @ cxy : server cluster identifier. 544 * @ process : [in] local pointer on remote process. 545 * @ vseg : [in] local pointer on remote vseg. 546 **********************************************************************************/ 547 void rpc_vmm_remove_vseg_client( cxy_t cxy, 548 struct process_s * process, 549 struct vseg_s * vseg ); 542 * [26] The RPC_VMM_REMOVE_VSEG allows a client thread to request a remote cluster 543 * to delete a vseg identified by the <vaddr> argument in a process descriptor 544 * identified by the <pid> argument. 545 * Both the VSL and the GPT are updated in the remote cluster. 546 *********************************************************************************** 547 * @ cxy : server cluster identifier. 548 * @ pid : [in] process identifier. 549 * @ base : [in] vseg base. 550 **********************************************************************************/ 551 void rpc_vmm_remove_vseg_client( cxy_t cxy, 552 pid_t pid, 553 intptr_t base ); 550 554 551 555 void rpc_vmm_remove_vseg_server( xptr_t xp );
Note: See TracChangeset
for help on using the changeset viewer.