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

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

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

  1 #ifndef _PPC_TYPES_H
  2 #define _PPC_TYPES_H
  3 
  4 #ifndef __ASSEMBLY__
  5 
  6 typedef __signed__ char __s8;
  7 typedef unsigned char __u8;
  8 
  9 typedef __signed__ short __s16;
 10 typedef unsigned short __u16;
 11 
 12 typedef __signed__ int __s32;
 13 typedef unsigned int __u32;
 14 
 15 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 16 typedef __signed__ long long __s64;
 17 typedef unsigned long long __u64;
 18 #endif
 19 
 20 typedef struct {
 21         __u32 u[4];
 22 } __attribute((aligned(16))) __vector128;
 23 
 24 #ifdef __KERNEL__
 25 /*
 26  * These aren't exported outside the kernel to avoid name space clashes
 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 typedef signed long long s64;
 38 typedef unsigned long long u64;
 39 
 40 typedef __vector128 vector128;
 41 
 42 #define BITS_PER_LONG 32
 43 
 44 /* DMA addresses are 32-bits wide */
 45 typedef u32 dma_addr_t;
 46 
 47 typedef unsigned short umode_t;
 48 
 49 #endif /* __KERNEL__ */
 50 #endif /* __ASSEMBLY__ */
 51 
 52 #endif
 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.