Colin Cross | 07a5832 | 2022-02-08 19:45:27 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 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 _UAPI_LINUX_TYPES_H |
| 20 | #define _UAPI_LINUX_TYPES_H |
| 21 | #include <asm/types.h> |
| 22 | #ifndef __ASSEMBLY__ |
| 23 | #include <linux/posix_types.h> |
Jordan Demeulenaere | 2d50582 | 2022-08-11 17:20:14 +0200 | [diff] [blame] | 24 | #define __bitwise |
Colin Cross | 07a5832 | 2022-02-08 19:45:27 -0800 | [diff] [blame] | 25 | typedef __u16 __bitwise __le16; |
| 26 | typedef __u16 __bitwise __be16; |
| 27 | typedef __u32 __bitwise __le32; |
| 28 | typedef __u32 __bitwise __be32; |
| 29 | typedef __u64 __bitwise __le64; |
| 30 | typedef __u64 __bitwise __be64; |
| 31 | typedef __u16 __bitwise __sum16; |
| 32 | typedef __u32 __bitwise __wsum; |
| 33 | #define __aligned_u64 __u64 __attribute__((aligned(8))) |
| 34 | #define __aligned_be64 __be64 __attribute__((aligned(8))) |
| 35 | #define __aligned_le64 __le64 __attribute__((aligned(8))) |
| 36 | typedef unsigned __bitwise __poll_t; |
| 37 | #endif |
| 38 | #endif |