root/include/asm-alpha/types.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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 typedef unsigned int umode_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 typedef unsigned char __u8;
  21 
  22 typedef __signed__ short __s16;
  23 typedef unsigned short __u16;
  24 
  25 typedef __signed__ int __s32;
  26 typedef unsigned int __u32;
  27 
  28 /*
  29  * There are 32-bit compilers for the alpha out there..
  30  */
  31 #if ((~0UL) == 0xffffffff)
  32 
  33 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
  34 typedef __signed__ long long __s64;
  35 typedef unsigned long long __u64;
  36 #endif
  37 
  38 #else
  39 
  40 typedef __signed__ long __s64;
  41 typedef unsigned long __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 typedef signed char s8;
  51 typedef unsigned char u8;
  52 
  53 typedef signed short s16;
  54 typedef unsigned short u16;
  55 
  56 typedef signed int s32;
  57 typedef unsigned int u32;
  58 
  59 /*
  60  * There are 32-bit compilers for the alpha out there..
  61  */
  62 #if ((~0UL) == 0xffffffff)
  63 
  64 typedef signed long long s64;
  65 typedef unsigned long long u64;
  66 
  67 #else
  68 
  69 typedef signed long s64;
  70 typedef unsigned long u64;
  71 
  72 #endif
  73 
  74 #endif /* __KERNEL__ */
  75 #endif /* _ALPHA_TYPES_H */

/* [previous][next][first][last][top][bottom][index][help] */