blob: 77f05e6dd1e3acea4f04f573a0de096c19698f24 [file] [log] [blame]
Christopher Ferris82d75042015-01-26 10:57:07 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Christopher Ferris525ce912017-07-26 13:12:53 -070019#ifndef _UAPI_RPMSG_H_
20#define _UAPI_RPMSG_H_
Christopher Ferris82d75042015-01-26 10:57:07 -080021#include <linux/ioctl.h>
22#include <linux/types.h>
Christopher Ferris525ce912017-07-26 13:12:53 -070023struct rpmsg_endpoint_info {
24 char name[32];
25 __u32 src;
26 __u32 dst;
Christopher Ferris82d75042015-01-26 10:57:07 -080027};
Christopher Ferris525ce912017-07-26 13:12:53 -070028#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
29#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
Christopher Ferris82d75042015-01-26 10:57:07 -080030#endif