1
2
3
4
5
6
7
8
9#ifndef _BLACKFIN_TYPES_H
10#define _BLACKFIN_TYPES_H
11
12
13
14
15
16
17
18
19
20typedef unsigned short umode_t;
21
22
23
24
25
26
27typedef __signed__ char __s8;
28typedef unsigned char __u8;
29
30typedef __signed__ short __s16;
31typedef unsigned short __u16;
32
33typedef __signed__ int __s32;
34typedef unsigned int __u32;
35
36
37#if defined(__GNUC__)
38__extension__ typedef __signed__ long long __s64;
39__extension__ typedef unsigned long long __u64;
40#endif
41
42
43
44
45#ifdef __KERNEL__
46
47typedef signed char s8;
48typedef unsigned char u8;
49
50typedef signed short s16;
51typedef unsigned short u16;
52
53typedef signed int s32;
54typedef unsigned int u32;
55
56typedef signed long long s64;
57typedef unsigned long long u64;
58
59#define BITS_PER_LONG 32
60
61
62
63typedef u32 dma_addr_t;
64
65typedef unsigned long phys_addr_t;
66typedef unsigned long phys_size_t;
67
68#endif
69
70#endif
71