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-mips64/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 /*
    2  * This file is subject to the terms and conditions of the GNU General Public
    3  * License.  See the file "COPYING" in the main directory of this archive
    4  * for more details.
    5  *
    6  * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
    7  * Copyright (C) 1999 Silicon Graphics, Inc.
    8  */
    9 #ifndef _ASM_TYPES_H
   10 #define _ASM_TYPES_H
   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 #if (_MIPS_SZLONG == 64)
   29 
   30 typedef __signed__ long __s64;
   31 typedef unsigned long __u64;
   32 
   33 #else
   34 
   35 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
   36 typedef __signed__ long long __s64;
   37 typedef unsigned long long __u64;
   38 #endif
   39 
   40 #endif
   41 
   42 /*
   43  * These aren't exported outside the kernel to avoid name space clashes
   44  */
   45 #ifdef __KERNEL__
   46 
   47 typedef __signed char s8;
   48 typedef unsigned char u8;
   49 
   50 typedef __signed short s16;
   51 typedef unsigned short u16;
   52 
   53 typedef __signed int s32;
   54 typedef unsigned int u32;
   55 
   56 #if (_MIPS_SZLONG == 64)
   57 
   58 typedef __signed__ long s64;
   59 typedef unsigned long u64;
   60 
   61 #else
   62 
   63 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
   64 typedef __signed__ long long s64;
   65 typedef unsigned long long u64;
   66 #endif
   67 
   68 #endif
   69 
   70 #define BITS_PER_LONG _MIPS_SZLONG
   71 
   72 typedef u64 dma_addr_t;
   73 typedef u64 dma64_addr_t;
   74 
   75 typedef unsigned long phys_t;
   76 
   77 #endif /* __KERNEL__ */
   78 
   79 #endif /* _ASM_TYPES_H */

Cache object: b3a99f0a6557b54999d4a28d5d03a06b


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