]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/microblaze/bits/kernel_types.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / microblaze / bits / kernel_types.h
1 /*
2  * sysdeps/linux/microblaze/bits/kernel_types.h -- Kernel versions of standard types
3  *
4  *  Copyright (C) 2003       John Williams <jwilliams@itee.uq.edu.au>
5  *  Copyright (C) 2001,2002  NEC Corporation
6  *  Copyright (C) 2001,2002  Miles Bader <miles@gnu.org>
7  *
8  * This file is subject to the terms and conditions of the GNU Lesser
9  * General Public License.  See the file COPYING.LIB in the main
10  * directory of this archive for more details.
11  *
12  * Written by Miles Bader <miles@gnu.org>
13  * Microblaze port by John Williams
14  */
15
16 #ifndef _ASM_MICROBLAZE_POSIX_TYPES_H
17 #define _ASM_MICROBLAZE_POSIX_TYPES_H
18
19 typedef unsigned long   __kernel_dev_t;
20 typedef unsigned long   __kernel_ino_t;
21 //typedef unsigned long long __kernel_ino64_t;
22 typedef unsigned short  __kernel_mode_t;
23 typedef unsigned long   __kernel_nlink_t;
24 typedef long            __kernel_off_t;
25 typedef int             __kernel_pid_t;
26 typedef int             __kernel_ipc_pid_t;
27 typedef unsigned int    __kernel_uid_t;
28 typedef unsigned int    __kernel_gid_t;
29 typedef unsigned int    __kernel_size_t;
30 typedef int             __kernel_ssize_t;
31 typedef int             __kernel_ptrdiff_t;
32 typedef long            __kernel_time_t;
33 typedef long            __kernel_suseconds_t;
34 typedef long            __kernel_clock_t;
35 typedef int             __kernel_timer_t;
36 typedef int             __kernel_clockid_t;
37 typedef int             __kernel_daddr_t;
38 typedef char *          __kernel_caddr_t;
39 typedef unsigned short  __kernel_uid16_t;
40 typedef unsigned short  __kernel_gid16_t;
41 typedef unsigned int    __kernel_uid32_t;
42 typedef unsigned int    __kernel_gid32_t;
43
44 typedef unsigned int    __kernel_old_uid_t;
45 typedef unsigned int    __kernel_old_gid_t;
46 typedef unsigned int    __kernel_old_dev_t;
47
48 #ifdef __GNUC__
49 typedef long long       __kernel_loff_t;
50 #endif
51
52 typedef struct {
53 #ifdef __USE_ALL
54         int val[2];
55 #else
56         int __val[2];
57 #endif
58 } __kernel_fsid_t;
59
60 #endif /* _ASM_MICROBLAZE_POSIX_TYPES_H */