Subversion Repositories Kolibri OS

Rev

Rev 4292 | Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4292 Rev 5056
Line 114... Line 114...
114
 
114
 
115
typedef		__u8		uint8_t;
115
typedef		__u8		uint8_t;
116
typedef		__u16		uint16_t;
116
typedef		__u16		uint16_t;
Line -... Line 117...
-
 
117
typedef		__u32		uint32_t;
117
typedef		__u32		uint32_t;
118
 
118
 
119
#if defined(__GNUC__)
119
typedef		__u64		uint64_t;
-
 
120
typedef		__u64		u_int64_t;
120
typedef		__u64		uint64_t;
-
 
121
typedef		__u64		u_int64_t;
Line 121... Line 122...
121
 
122
typedef		__s64		int64_t;
122
typedef __signed__ long long int64_t;
123
#endif
123
 
124
 
124
/* this is a special 64bit data type that is 8-byte aligned */
125
/* this is a special 64bit data type that is 8-byte aligned */
Line 148... Line 149...
148
 */
149
 */
149
#ifndef pgoff_t
150
#ifndef pgoff_t
150
#define pgoff_t unsigned long
151
#define pgoff_t unsigned long
151
#endif
152
#endif
Line -... Line 153...
-
 
153
 
152
 
154
/* A dma_addr_t can hold any valid DMA or bus address for the platform */
153
#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
155
#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
154
typedef u64 dma_addr_t;
156
typedef u64 dma_addr_t;
155
#else
157
#else
156
typedef u32 dma_addr_t;
158
typedef u32 dma_addr_t;
Line 198... Line 200...
198
#define __aligned_le64 __le64 __attribute__((aligned(8)))
200
#define __aligned_le64 __le64 __attribute__((aligned(8)))
Line 199... Line 201...
199
 
201
 
200
#ifdef __KERNEL__
202
#ifdef __KERNEL__
201
typedef unsigned __bitwise__ gfp_t;
203
typedef unsigned __bitwise__ gfp_t;
-
 
204
typedef unsigned __bitwise__ fmode_t;
Line 202... Line 205...
202
typedef unsigned __bitwise__ fmode_t;
205
typedef unsigned __bitwise__ oom_flags_t;
203
 
206
 
204
#ifdef CONFIG_PHYS_ADDR_T_64BIT
207
#ifdef CONFIG_PHYS_ADDR_T_64BIT
205
typedef u64 phys_addr_t;
208
typedef u64 phys_addr_t;
206
#else
209
#else
Line 207... Line 210...
207
typedef u32 phys_addr_t;
210
typedef u32 phys_addr_t;
Line -... Line 211...
-
 
211
#endif
-
 
212
 
-
 
213
typedef phys_addr_t resource_size_t;
-
 
214
 
-
 
215
/*
-
 
216
 * This type is the placeholder for a hardware interrupt number. It has to be
208
#endif
217
 * big enough to enclose whatever representation is used by a given platform.
209
 
218
 */
210
typedef phys_addr_t resource_size_t;
219
typedef unsigned long irq_hw_number_t;
Line 211... Line 220...
211
 
220