DACS_ERR_T dacs_remote_mem_create ( void *addr, uint64_t size, DACS_MEMORY_ACCESS_MODE_T access_mode, dacs_remote_mem_t *mem )
Call parameters | |
*addr | A pointer to the base address of the memory region to be shared. |
size | The size of the memory region in bytes. |
access_mode | The access mode to be given to the memory region. This
may be:
|
Return parameter | |
*mem | A pointer to a remote memory handle to be filled in. |
The dacs_remote_mem_create service creates and returns a handle associated with the given memory region. The returned handle can be used with the dacs_remote_mem_share() and dacs_remote_mem_accept() services to share and gain access to remote shared memory.