]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/x86/include/asm/types.h
1 #ifndef __ASM_I386_TYPES_H
2 #define __ASM_I386_TYPES_H
4 typedef unsigned short umode_t
;
7 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
8 * header files exported to user space
11 typedef __signed__
char __s8
;
12 typedef unsigned char __u8
;
14 typedef __signed__
short __s16
;
15 typedef unsigned short __u16
;
17 typedef __signed__
int __s32
;
18 typedef unsigned int __u32
;
21 __extension__
typedef __signed__
long long __s64
;
22 __extension__
typedef unsigned long long __u64
;
26 * These aren't exported outside the kernel to avoid name space clashes
30 typedef signed char s8
;
31 typedef unsigned char u8
;
33 typedef signed short s16
;
34 typedef unsigned short u16
;
36 typedef signed int s32
;
37 typedef unsigned int u32
;
39 #if !defined(CONFIG_USE_STDINT) || !defined(__INT64_TYPE__)
40 typedef signed long long s64
;
41 typedef unsigned long long u64
;
43 typedef __INT64_TYPE__ s64
;
44 typedef __UINT64_TYPE__ u64
;
47 #define BITS_PER_LONG 32
49 /* Dma addresses are 32-bits wide. */
51 typedef u32 dma_addr_t
;
53 typedef unsigned long long phys_addr_t
;
54 typedef unsigned long long phys_size_t
;
56 #endif /* __KERNEL__ */