root/include/asm-sparc/types.h

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

INCLUDED FROM


   1 #ifndef _SPARC_TYPES_H
   2 #define _SPARC_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   <-- Linus sez this
   7  */
   8 
   9 /* NOTE: I will have to change these when the V9 sparcs come into play,
  10  *       however this won't be for a while.
  11  */
  12 
  13 #ifndef _SIZE_T
  14 #define _SIZE_T
  15 typedef long unsigned int size_t;
  16 #endif
  17 
  18 #ifndef _SSIZE_T
  19 #define _SSIZE_T
  20 typedef int ssize_t;
  21 #endif
  22 
  23 #ifndef _PTRDIFF_T
  24 #define _PTRDIFF_T
  25 typedef int ptrdiff_t;
  26 #endif
  27 
  28 typedef signed char __s8;
  29 typedef unsigned char __u8;
  30 
  31 typedef signed short __s16;
  32 typedef unsigned short __u16;
  33 
  34 typedef signed int __s32;
  35 typedef unsigned int __u32;
  36 
  37 /* Only 32-bit sparcs for now so.... */
  38 
  39 typedef signed long long __s64;
  40 typedef unsigned long long __u64;
  41 
  42 #ifdef __KERNEL__
  43 
  44 typedef signed char s8;
  45 typedef unsigned char u8;
  46 
  47 typedef signed short s16;
  48 typedef unsigned short u16;
  49 
  50 typedef signed int s32;
  51 typedef unsigned int u32;
  52 
  53 /* Again, only have to worry about 32-bits */
  54 
  55 typedef signed long long s64;
  56 typedef unsigned long long u64;
  57 
  58 #endif /* __KERNEL__ */
  59 
  60 #endif /* defined(_SPARC_TYPES_H) */

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