blob: 742b9efc2d82c65c987dbff550956ce4c091fe91 [file] [log] [blame]
Iliyan Malchev7b79d1e2011-08-03 16:41:10 -07001/****************************************************************************
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 ****************************************************************************/
19#ifndef RPMSG_OMX_H
20#define RPMSG_OMX_H
21#include <linux/ioctl.h>
22#define OMX_IOC_MAGIC 'X'
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define OMX_IOCCONNECT _IOW(OMX_IOC_MAGIC, 1, char *)
25#define OMX_IOCIONREGISTER _IOWR(OMX_IOC_MAGIC, 2, struct ion_fd_data)
26#define OMX_IOCIONUNREGISTER _IOWR(OMX_IOC_MAGIC, 3, struct ion_fd_data)
27#define OMX_IOC_MAXNR (3)
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29struct omx_conn_req {
30 char name[48];
31} __packed;
32struct omx_packet {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 uint16_t desc;
35 uint16_t msg_id;
36 uint32_t flags;
37 uint32_t fxn_idx;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 int32_t result;
40 uint32_t data_size;
41 uint32_t data[0];
42};
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#endif