1 #ifndef_ALPHA_TYPES_H 2 #define_ALPHA_TYPES_H 3
4 /* 5 * This file is never included by application software unless 6 * explicitly requested (e.g., via linux/types.h) in which case the 7 * application is Linux specific so (user-) name space pollution is 8 * not a major issue. However, for interoperability, libraries still 9 * need to be careful to avoid a name clashes. 10 */ 11
12 typedefunsignedintumode_t;
13
14 /* 15 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the 16 * header files exported to user space 17 */ 18
19 typedef__signed__char__s8;
20 typedefunsignedchar__u8;
21
22 typedef__signed__short__s16;
23 typedefunsignedshort__u16;
24
25 typedef__signed__int__s32;
26 typedefunsignedint__u32;
27
28 /* 29 * There are 32-bit compilers for the alpha out there.. 30 */ 31 #if ((~0UL) == 0xffffffff)
32
33 #ifdefined(__GNUC__) && !defined(__STRICT_ANSI__)
34 typedef__signed__longlong __s64;
35 typedefunsignedlonglong__u64;
36 #endif 37
38 #else 39
40 typedef__signed__long __s64;
41 typedefunsignedlong__u64;
42
43 #endif 44
45 /* 46 * These aren't exported outside the kernel to avoid name space clashes 47 */ 48 #ifdef__KERNEL__ 49
50 typedefsignedchars8;
51 typedefunsignedcharu8;
52
53 typedefsignedshorts16;
54 typedefunsignedshortu16;
55
56 typedefsignedints32;
57 typedefunsignedintu32;
58
59 /* 60 * There are 32-bit compilers for the alpha out there.. 61 */ 62 #if ((~0UL) == 0xffffffff)
63
64 typedefsignedlonglong s64;
65 typedefunsignedlonglongu64;
66
67 #else 68
69 typedefsignedlong s64;
70 typedefunsignedlongu64;
71
72 #endif 73
74 #endif/* __KERNEL__ */ 75 #endif/* _ALPHA_TYPES_H */