1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * Copyright (c) 2016, Linaro Ltd. 4 */ 5 6 #ifndef _UAPI_RPMSG_H_ 7 #define _UAPI_RPMSG_H_ 8 9 #include <linux/ioctl.h> 10 #include <linux/types.h> 11 12 #define RPMSG_ADDR_ANY 0xFFFFFFFF 13 14 /** 15 * struct rpmsg_endpoint_info - endpoint info representation 16 * @name: name of service 17 * @src: local address 18 * @dst: destination address 19 */ 20 struct rpmsg_endpoint_info { 21 char name[32]; 22 __u32 src; 23 __u32 dst; 24 }; 25 26 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) 27 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) 28 29 #endif 30