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

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

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

  1 #ifndef __ASM_SH_TYPES_H
  2 #define __ASM_SH_TYPES_H
  3 
  4 typedef unsigned short umode_t;
  5 
  6 /*
  7  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  8  * header files exported to user space
  9  */
 10 
 11 typedef __signed__ char __s8;
 12 typedef unsigned char __u8;
 13 
 14 typedef __signed__ short __s16;
 15 typedef unsigned short __u16;
 16 
 17 typedef __signed__ int __s32;
 18 typedef unsigned int __u32;
 19 
 20 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 21 typedef __signed__ long long __s64;
 22 typedef unsigned long long __u64;
 23 #endif
 24 
 25 /*
 26  * These aren't exported outside the kernel to avoid name space clashes
 27  */
 28 #ifdef __KERNEL__
 29 
 30 typedef __signed__ char s8;
 31 typedef unsigned char u8;
 32 
 33 typedef __signed__ short s16;
 34 typedef unsigned short u16;
 35 
 36 typedef __signed__ int s32;
 37 typedef unsigned int u32;
 38 
 39 typedef __signed__ long long s64;
 40 typedef unsigned long long u64;
 41 
 42 #define BITS_PER_LONG 32
 43 
 44 /* Dma addresses are 32-bits wide.  */
 45 
 46 typedef u32 dma_addr_t;
 47 
 48 #endif /* __KERNEL__ */
 49 
 50 #endif /* __ASM_SH_TYPES_H */
 51 

~ [ 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.