]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/hppa/bits/kernel_types.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / hppa / bits / kernel_types.h
1 /* Note that we use the exact same include guard #define names
2  * as asm/posix_types.h.  This will avoid gratuitous conflicts
3  * with the posix_types.h kernel header, and will ensure that
4  * our private content, and not the kernel header, will win.
5  *  -Erik
6  */
7 #ifndef __ARCH_PARISC_POSIX_TYPES_H
8 #define __ARCH_PARISC_POSIX_TYPES_H
9
10 typedef unsigned long           __kernel_dev_t;
11 typedef unsigned long           __kernel_ino_t;
12 typedef unsigned short          __kernel_mode_t;
13 typedef unsigned short          __kernel_nlink_t;
14 typedef long                    __kernel_off_t;
15 typedef int                     __kernel_pid_t;
16 typedef unsigned short          __kernel_ipc_pid_t;
17 typedef unsigned int            __kernel_uid_t;
18 typedef unsigned int            __kernel_gid_t;
19 typedef int                     __kernel_suseconds_t;
20 typedef long                    __kernel_clock_t;
21 typedef int                     __kernel_timer_t;
22 typedef int                     __kernel_clockid_t;
23 typedef int                     __kernel_daddr_t;
24 /* Note these change from narrow to wide kernels */
25 #ifdef __LP64__
26 typedef unsigned long           __kernel_size_t;
27 typedef long                    __kernel_ssize_t;
28 typedef long                    __kernel_ptrdiff_t;
29 typedef long                    __kernel_time_t;
30 #else
31 typedef unsigned int            __kernel_size_t;
32 typedef int                     __kernel_ssize_t;
33 typedef int                     __kernel_ptrdiff_t;
34 typedef long                    __kernel_time_t;
35 #endif
36 typedef char *                  __kernel_caddr_t;
37
38 typedef unsigned short          __kernel_uid16_t;
39 typedef unsigned short          __kernel_gid16_t;
40 typedef unsigned int            __kernel_uid32_t;
41 typedef unsigned int            __kernel_gid32_t;
42
43 typedef long long               __kernel_loff_t;
44 typedef long long               __kernel_off64_t;
45 typedef unsigned long long      __kernel_ino64_t;
46
47 typedef unsigned int            __kernel_old_dev_t;
48 typedef long                    __kernel_long_t;
49 typedef unsigned long           __kernel_ulong_t;
50
51 typedef struct {
52 #ifdef __USE_ALL
53         int     val[2];
54 #else
55         int     __val[2];
56 #endif
57 } __kernel_fsid_t;
58
59 /* compatibility stuff */
60 typedef __kernel_uid_t __kernel_old_uid_t;
61 typedef __kernel_gid_t __kernel_old_gid_t;
62
63 #endif /* __ARCH_PARISC_POSIX_TYPES_H */