The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/include/asm-alpha/types.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 2e687fa14d9313796ff46817ec6fceb5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.