Monado OpenXR Runtime

IPC shared memory helpers. More...

#include <xrt/xrt_config_os.h>
#include "shared/ipc_shmem.h"
#include <sys/mman.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for ipc_shmem.c:

Macros

#define MONADO_SHMEM_NAME   "/monado_shm"
 

Functions

xrt_result_t ipc_shmem_create (size_t size, xrt_shmem_handle_t *out_handle, void **out_map)
 
void ipc_shmem_destroy (xrt_shmem_handle_t *handle_ptr, void **map_ptr, size_t size)
 
xrt_result_t ipc_shmem_map (xrt_shmem_handle_t handle, size_t size, void **out_map)
 
void ipc_shmem_unmap (void **map_ptr, size_t size)
 

Detailed Description