Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
rpmsg_multi_instance.h File Reference
#include <openamp/open_amp.h>
#include <metal/sys.h>
#include <metal/device.h>
#include <metal/alloc.h>

Go to the source code of this file.

Data Structures

struct  rpmsg_mi_cb
 Event callback structure. More...
 
struct  rpmsg_mi_ept
 Endpoint instance. More...
 
struct  rpmsg_mi_ept_cfg
 Endpoint configuration. More...
 
struct  rpmsg_mi_ctx
 Struct describing the context of the RPMsg instance. More...
 
struct  rpmsg_mi_ctx_shm_cfg
 
struct  rpmsg_mi_ctx_cfg
 Configuration of the RPMsg instance. More...
 

Macros

#define VDEV_START_ADDR   CONFIG_RPMSG_MULTI_INSTANCE_SHM_BASE_ADDRESS
 
#define VDEV_SIZE   CONFIG_RPMSG_MULTI_INSTANCE_SHM_SIZE
 
#define SHM_START_ADDR   VDEV_START_ADDR
 
#define SHM_SIZE   VDEV_SIZE
 
#define VRING_ALIGNMENT   (4)
 
#define VDEV_STATUS_SIZE   (0x4)
 

Functions

int rpmsg_mi_ctx_init (struct rpmsg_mi_ctx *ctx, const struct rpmsg_mi_ctx_cfg *cfg)
 Initialization of RPMsg instance. More...
 
int rpmsg_mi_ept_register (struct rpmsg_mi_ctx *ctx, struct rpmsg_mi_ept *ept, struct rpmsg_mi_ept_cfg *cfg)
 Register IPC endpoint. More...
 
int rpmsg_mi_send (struct rpmsg_mi_ept *ept, const void *data, size_t len)
 Send data using given IPC endpoint. More...