blob: 9145e669cbd162e8890d4a860c0313c7b56ca7cf [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>
24#define __bitwise__
25#define __bitwise __bitwise__
26typedef __u16 __bitwise __le16;
27typedef __u16 __bitwise __be16;
28typedef __u32 __bitwise __le32;
29typedef __u32 __bitwise __be32;
30typedef __u64 __bitwise __le64;
31typedef __u64 __bitwise __be64;
32typedef __u16 __bitwise __sum16;
33typedef __u32 __bitwise __wsum;
34#define __aligned_u64 __u64 __attribute__((aligned(8)))
35#define __aligned_be64 __be64 __attribute__((aligned(8)))
36#define __aligned_le64 __le64 __attribute__((aligned(8)))
37typedef unsigned __bitwise __poll_t;
38#endif
39#endif