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

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