Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * asm-generic/int-ll64.h
0004  *
0005  * Integer declarations for architectures which use "long long"
0006  * for 64-bit types.
0007  */
0008 
0009 #ifndef _UAPI_ASM_GENERIC_INT_LL64_H
0010 #define _UAPI_ASM_GENERIC_INT_LL64_H
0011 
0012 #include <asm/bitsperlong.h>
0013 
0014 #ifndef __ASSEMBLY__
0015 /*
0016  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
0017  * header files exported to user space
0018  */
0019 
0020 typedef __signed__ char __s8;
0021 typedef unsigned char __u8;
0022 
0023 typedef __signed__ short __s16;
0024 typedef unsigned short __u16;
0025 
0026 typedef __signed__ int __s32;
0027 typedef unsigned int __u32;
0028 
0029 #ifdef __GNUC__
0030 __extension__ typedef __signed__ long long __s64;
0031 __extension__ typedef unsigned long long __u64;
0032 #else
0033 typedef __signed__ long long __s64;
0034 typedef unsigned long long __u64;
0035 #endif
0036 
0037 #endif /* __ASSEMBLY__ */
0038 
0039 
0040 #endif /* _UAPI_ASM_GENERIC_INT_LL64_H */