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 #ifndef _SIZE_T
   5 #define _SIZE_T
   6 typedef unsigned long size_t;
   7 #endif
   8 
   9 #ifndef _SSIZE_T
  10 #define _SSIZE_T
  11 typedef long ssize_t;
  12 #endif
  13 
  14 #ifndef _PTRDIFF_T
  15 #define _PTRDIFF_T
  16 typedef long ptrdiff_t;
  17 #endif
  18 
  19 /*
  20  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  21  * header files exported to user space
  22  */
  23 
  24 typedef signed char __s8;
  25 typedef unsigned char __u8;
  26 
  27 typedef signed short __s16;
  28 typedef unsigned short __u16;
  29 
  30 typedef signed int __s32;
  31 typedef unsigned int __u32;
  32 
  33 /*
  34  * There are 32-bit compilers for the alpha out there..
  35  */
  36 #if ((~0UL) == 0xffffffff)
  37 
  38 #ifndef __STRICT_ANSI__
  39 typedef signed long long __s64;
  40 typedef unsigned long long __u64;
  41 #endif
  42 
  43 #else
  44 
  45 typedef signed long __s64;
  46 typedef unsigned long __u64;
  47 
  48 #endif
  49 
  50 /*
  51  * These aren't exported outside the kernel to avoid name space clashes
  52  */
  53 #ifdef __KERNEL__
  54 
  55 typedef signed char s8;
  56 typedef unsigned char u8;
  57 
  58 typedef signed short s16;
  59 typedef unsigned short u16;
  60 
  61 typedef signed int s32;
  62 typedef unsigned int u32;
  63 
  64 /*
  65  * There are 32-bit compilers for the alpha out there..
  66  */
  67 #if ((~0UL) == 0xffffffff)
  68 
  69 typedef signed long long s64;
  70 typedef unsigned long long u64;
  71 
  72 #else
  73 
  74 typedef signed long s64;
  75 typedef unsigned long u64;
  76 
  77 #endif
  78 
  79 #endif /* __KERNEL__ */
  80 
  81 #endif

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