Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / rpmsg.h
blob225eb38705dc065271938cbd87a0634be4d45948
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
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>
21 /**
22 * struct rpmsg_endpoint_info - endpoint info representation
23 * @name: name of service
24 * @src: local address
25 * @dst: destination address
27 struct rpmsg_endpoint_info {
28 char name[32];
29 __u32 src;
30 __u32 dst;
33 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
34 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
36 #endif