Changeset 5 for trunk/kernel/kern/rpc.h
- Timestamp:
- Apr 26, 2017, 2:11:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r1 r5 63 63 RPC_THREAD_USER_CREATE = 4, 64 64 RPC_THREAD_KERNEL_CREATE = 5, 65 RPC_ICU_WTI_ALLOC = 6,66 RPC_DEVICE_ALLOC = 7,67 65 68 66 RPC_VFS_INODE_CREATE = 10, … … 465 463 466 464 /*********************************************************************************** 467 * The RPC_ICU_WTI_ALLOC can be send by any thread running in a "client" cluster468 * to get a WTI mailbox from the ICU of a "server" cluster.469 * The WTI is allocated from the server ICU, but the WTI is not enabled,470 * and no target core is selected in remote cluster.471 * It returns wti_id == -1 if there is no free WTI in server cluster.472 ***********************************************************************************473 * @ cxy : server cluster identifier.474 * @ wti_id : [out] local pointer on WTI index in client cluster (-1 if error).475 **********************************************************************************/476 void rpc_icu_wti_alloc_client( cxy_t cxy,477 uint32_t * wti_id );478 479 void rpc_icu_wti_alloc_server( xptr_t xp );480 481 /***********************************************************************************482 * The RPC_DEVICE_ALLOC can be send by any thread running in a "client" cluster483 * to create a device descriptor in a remote "server" cluster.484 * The WTI is allocated from the server ICU, but the WTI is not enabled,485 * and no target core is selected in remote cluster.486 * It returns wti_id == -1 if there is no free WTI in server cluster.487 ***********************************************************************************488 * @ cxy : server cluster identifier.489 * @ dev_xp : [out] buffer for extended pointer on device (in client cluster).490 * @ error : [out] local pointer on buffer for error code (in client cluster).491 **********************************************************************************/492 void rpc_device_alloc_client( cxy_t cxy,493 xptr_t * dev_xp,494 error_t * error );495 496 void rpc_device_alloc_server( xptr_t xp );497 498 /***********************************************************************************499 465 * The RPC_FATFS_GET_CLUSTER can be send by any thread running in a "client" cluster 500 466 * to scan the FAT mapper, stored in a remote "server" cluster, and get the FATFS
Note: See TracChangeset
for help on using the changeset viewer.