]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/include/asm/types.h
6 typedef unsigned short umode_t
;
8 typedef __signed__
char __s8
;
9 typedef unsigned char __u8
;
11 typedef __signed__
short __s16
;
12 typedef unsigned short __u16
;
14 typedef __signed__
int __s32
;
15 typedef unsigned int __u32
;
18 __extension__
typedef __signed__
long long __s64
;
19 __extension__
typedef unsigned long long __u64
;
24 } __attribute__((aligned(16))) vector128
;
28 * 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 typedef signed long long s64
;
40 typedef unsigned long long u64
;
42 #define BITS_PER_LONG 32
44 #ifdef CONFIG_PHYS_64BIT
45 typedef unsigned long long dma_addr_t
;
47 /* DMA addresses are 32-bits wide */
48 typedef u32 dma_addr_t
;
51 #ifdef CONFIG_PHYS_64BIT
52 typedef unsigned long long phys_addr_t
;
53 typedef unsigned long long phys_size_t
;
55 typedef unsigned long phys_addr_t
;
56 typedef unsigned long phys_size_t
;
59 #endif /* __KERNEL__ */
60 #endif /* __ASSEMBLY__ */