summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/asm/types.h
blob: aafa80f167dc9e30795ec2dd5822042ddbdaa8d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _ASM_TYPES_H
#define _ASM_TYPES_H

#include <sys/types.h>

#ifdef __alpha__
typedef unsigned int umode_t;
#else
typedef unsigned short umode_t;
#endif

typedef uint8_t __u8;
typedef uint16_t __u16;
typedef uint32_t __u32;
#ifndef __STRICT_ANSI__
typedef uint64_t __u64;
#endif

typedef int8_t __s8;
typedef int16_t __s16;
typedef int32_t __s32;
#ifndef __STRICT_ANSI__
typedef int64_t __s64;
#endif

#if defined(__alpha__)
typedef unsigned long __kernel_size_t;
#else
typedef unsigned int __kernel_size_t;
#endif

#endif