~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-sparc/types.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* $Id: types.h,v 1.12 2000/01/29 02:23:25 anton Exp $ */
  2 #ifndef _SPARC_TYPES_H
  3 #define _SPARC_TYPES_H
  4 
  5 /*
  6  * _xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  7  * header files exported to user space.
  8  */
  9 
 10 /*
 11  * This file is never included by application software unless
 12  * explicitly requested (e.g., via linux/types.h) in which case the
 13  * application is Linux specific so (user-) name space pollution is
 14  * not a major issue.  However, for interoperability, libraries still
 15  * need to be careful to avoid a name clashes.
 16  */
 17 
 18 typedef unsigned short umode_t;
 19 
 20 typedef __signed__ char __s8;
 21 typedef unsigned char __u8;
 22 
 23 typedef __signed__ short __s16;
 24 typedef unsigned short __u16;
 25 
 26 typedef __signed__ int __s32;
 27 typedef unsigned int __u32;
 28 
 29 typedef __signed__ long long __s64;
 30 typedef unsigned long long __u64;
 31 
 32 #ifdef __KERNEL__
 33 
 34 typedef __signed__ char s8;
 35 typedef unsigned char u8;
 36 
 37 typedef __signed__ short s16;
 38 typedef unsigned short u16;
 39 
 40 typedef __signed__ int s32;
 41 typedef unsigned int u32;
 42 
 43 typedef __signed__ long long s64;
 44 typedef unsigned long long u64;
 45 
 46 #define BITS_PER_LONG 32
 47 
 48 typedef u32 dma_addr_t;
 49 
 50 #endif /* __KERNEL__ */
 51 
 52 #endif /* defined(_SPARC_TYPES_H) */
 53 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.