blob: ce82a248812e10daaf7dfe19da6f7b6fce04342e [file] [log] [blame]
Colin Cross07a58322022-02-08 19:45:27 -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 ****************************************************************************/
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 Demeulenaere2d505822022-08-11 17:20:14 +020024#define __bitwise
Colin Cross07a58322022-02-08 19:45:27 -080025typedef __u16 __bitwise __le16;
26typedef __u16 __bitwise __be16;
27typedef __u32 __bitwise __le32;
28typedef __u32 __bitwise __be32;
29typedef __u64 __bitwise __le64;
30typedef __u64 __bitwise __be64;
31typedef __u16 __bitwise __sum16;
32typedef __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)))
36typedef unsigned __bitwise __poll_t;
37#endif
38#endif