1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 2016, Linaro Ltd.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef _UAPI_RPMSG_H_
16 #define _UAPI_RPMSG_H_
18 #include <linux/ioctl.h>
19 #include <linux/types.h>
22 * struct rpmsg_endpoint_info - endpoint info representation
23 * @name: name of service
25 * @dst: destination address
27 struct rpmsg_endpoint_info
{
33 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
34 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)