prom setprop primatives
[yaboot.git] / include / types.h
1 #ifndef __TYPES_H
2 #define __TYPES_H
3
4 typedef __signed__ char __s8;
5 typedef unsigned char __u8;
6
7 typedef __signed__ short __s16;
8 typedef unsigned short __u16;
9
10 typedef __signed__ int __s32;
11 typedef unsigned int __u32;
12
13 typedef __signed__ long long __s64;
14 typedef unsigned long long __u64;
15
16 typedef signed char s8;
17 typedef unsigned char u8;
18
19 typedef signed short s16;
20 typedef unsigned short u16;
21
22 typedef signed int s32;
23 typedef unsigned int u32;
24
25 typedef signed long long s64;
26 typedef unsigned long long u64;
27
28 #define BITS_PER_LONG 32
29
30 /* bsd */
31 typedef unsigned char           u_char;
32 typedef unsigned short          u_short;
33 typedef unsigned int            u_int;
34 typedef unsigned long           u_long;
35
36 /* sysv */
37 typedef unsigned char           unchar;
38 typedef unsigned short          ushort;
39 typedef unsigned int            uint;
40 typedef unsigned long           ulong;
41
42 typedef         __u8            u_int8_t;
43 typedef         __s8            int8_t;
44 typedef         __u16           u_int16_t;
45 typedef         __s16           int16_t;
46 typedef         __u32           u_int32_t;
47 typedef         __s32           int32_t;
48
49 typedef         __u8            uint8_t;
50 typedef         __u16           uint16_t;
51 typedef         __u32           uint32_t;
52
53 typedef         __u64           uint64_t;
54 typedef         __u64           u_int64_t;
55 typedef         __s64           int64_t;
56
57 typedef unsigned int ino_t;
58 typedef __u64 loff_t;
59
60 #endif