diff options
Diffstat (limited to 'libc/kernel/uapi/linux/remoteproc_cdev.h')
-rw-r--r-- | libc/kernel/uapi/linux/remoteproc_cdev.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libc/kernel/uapi/linux/remoteproc_cdev.h b/libc/kernel/uapi/linux/remoteproc_cdev.h new file mode 100644 index 000000000..a10ff01bb --- /dev/null +++ b/libc/kernel/uapi/linux/remoteproc_cdev.h @@ -0,0 +1,26 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _UAPI_REMOTEPROC_CDEV_H_ +#define _UAPI_REMOTEPROC_CDEV_H_ +#include <linux/ioctl.h> +#include <linux/types.h> +#define RPROC_MAGIC 0xB7 +#define RPROC_SET_SHUTDOWN_ON_RELEASE _IOW(RPROC_MAGIC, 1, __s32) +#define RPROC_GET_SHUTDOWN_ON_RELEASE _IOR(RPROC_MAGIC, 2, __s32) +#endif |