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
6 * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
12 typedef unsigned int umode_t;
15 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
16 * header files exported to user space
19 typedef __signed__ char __s8;
20 typedef unsigned char __u8;
22 typedef __signed__ short __s16;
23 typedef unsigned short __u16;
25 typedef __signed__ int __s32;
26 typedef unsigned int __u32;
28 #if (_MIPS_SZLONG == 64)
30 typedef __signed__ long __s64;
31 typedef unsigned long __u64;
35 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
36 typedef __signed__ long long __s64;
37 typedef unsigned long long __u64;
43 * These aren't exported outside the kernel to avoid name space clashes
47 typedef __signed char s8;
48 typedef unsigned char u8;
50 typedef __signed short s16;
51 typedef unsigned short u16;
53 typedef __signed int s32;
54 typedef unsigned int u32;
56 #if (_MIPS_SZLONG == 64)
58 typedef __signed__ long s64;
59 typedef unsigned long u64;
63 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
64 typedef __signed__ long long s64;
65 typedef unsigned long long u64;
70 #define BITS_PER_LONG _MIPS_SZLONG
72 typedef u64 dma_addr_t;
73 typedef u64 dma64_addr_t;
75 typedef unsigned long phys_t;
77 #endif /* __KERNEL__ */
79 #endif /* _ASM_TYPES_H */