afsd-allow-maxmtu-override-20090530
[openafs.git] / src / config / param.x86_darwin_100.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 #ifndef AFS_PARAM_H
5 #define AFS_PARAM_H
6
7 #define AFS_ENV                 1
8 #define AFS_64BIT_ENV           1       /* Defines afs_int32 as int, not long. */
9 #define AFS_64BIT_CLIENT        1
10 #define AFS_64BIT_IOPS_ENV      1
11 #if defined(__ppc__)
12 #define AFS_PPC_ENV             1
13 #elif defined(__i386__)
14 #define AFS_X86_ENV             1
15 #else
16 #error Unsupported architecture
17 #endif
18 #define AFS_VFSINCL_ENV         1
19
20 #include <afs/afs_sysnames.h>
21
22 #define AFS_DARWIN_ENV
23 #define AFS_DARWIN13_ENV
24 #define AFS_DARWIN14_ENV
25 #define AFS_DARWIN60_ENV
26 #define AFS_DARWIN70_ENV
27 #define AFS_DARWIN80_ENV
28 #define AFS_DARWIN90_ENV
29 #define AFS_DARWIN100_ENV
30 #define AFS_NONFSTRANS
31 #define AFS_SYSCALL             230
32 #define AFS_NAMEI_ENV 1
33 #define DARWIN_REFBASE 3
34 #define AFS_CACHE_VNODE_PATH
35
36 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
37 #define AFS_MOUNT_AFS    "afs"
38
39 /* Machine / Operating system information */
40 #if defined(__ppc__)
41 #define sys_ppc_darwin_12       1
42 #define sys_ppc_darwin_13       1
43 #define sys_ppc_darwin_14       1
44 #define sys_ppc_darwin_60       1
45 #define sys_ppc_darwin_70       1
46 #define sys_ppc_darwin_80       1
47 #define sys_ppc_darwin_90       1
48 #define sys_ppc_darwin_100      1
49 #define SYS_NAME                "ppc_darwin_100"
50 #define SYS_NAME_ID             SYS_NAME_ID_ppc_darwin_100
51 #define AFSBIG_ENDIAN           1
52 #elif defined(__i386__)
53 #define sys_x86_darwin_12       1
54 #define sys_x86_darwin_13       1
55 #define sys_x86_darwin_14       1
56 #define sys_x86_darwin_60       1
57 #define sys_x86_darwin_70       1
58 #define sys_x86_darwin_80       1
59 #define sys_x86_darwin_90       1
60 #define sys_x86_darwin_100      1
61 #define SYS_NAME                "x86_darwin_100"
62 #define SYS_NAME_ID             SYS_NAME_ID_x86_darwin_100
63 #define AFSLITTLE_ENDIAN        1
64 #else
65 #error Unsupported architecture
66 #endif
67 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
68
69 #define AFS_GCPAGS               0
70 #define RXK_LISTENER_ENV         1
71
72 #ifdef KERNEL
73 #undef MACRO_BEGIN
74 #undef MACRO_END
75 #include <kern/macro_help.h>
76 #define AFS_GLOBAL_SUNLOCK        1
77 #define AFS_VFS34       1       /* What is VFS34??? */
78 #define afsio_iov       uio_iov
79 #define afsio_iovcnt    uio_iovcnt
80 #define afsio_offset    uio_offset
81 #define afsio_seg       uio_segflg
82 #define afsio_resid     uio_resid
83 #define AFS_UIOSYS      UIO_SYSSPACE
84 #define AFS_UIOUSER     UIO_USERSPACE
85 #define AFS_CLBYTES     CLBYTES
86 #define osi_GetTime(x)  microtime(x)
87 #define AFS_KALLOC(x)   _MALLOC(x, M_TEMP, M_WAITOK)
88 #define AFS_KFREE(x,y)  _FREE(x,M_TEMP)
89 #define v_count         v_usecount
90 #define v_vfsp          v_mount
91 #define vfs_bsize       mnt_stat.f_bsize
92 #define vfs_fsid        mnt_stat.f_fsid
93 #define va_nodeid       va_fileid
94 #define vfs_vnodecovered mnt_vnodecovered
95 #define direct          dirent
96
97 #define BIND_8_COMPAT
98
99 #endif
100 #endif /* AFS_PARAM_H */
101
102 #else /* !defined(UKERNEL) */
103
104 /* This section for user space compiles only */
105
106 #ifndef AFS_PARAM_H
107 #define AFS_PARAM_H
108
109 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
110 #define AFS_ENV                 1
111 #define AFS_64BIT_ENV           1       /* Defines afs_int32 as int, not long. */
112 #if defined(__ppc__)
113 #define AFS_PPC_ENV             1
114 #elif defined(__i386__)
115 #define AFS_X86_ENV             1
116 #else
117 #error Unsupported architecture
118 #endif
119
120 #include <afs/afs_sysnames.h>
121 #define AFS_USERSPACE_ENV
122 #define AFS_USR_DARWIN_ENV
123 #define AFS_USR_DARWIN13_ENV
124 #define AFS_USR_DARWIN14_ENV
125 #define AFS_USR_DARWIN60_ENV
126 #define AFS_USR_DARWIN70_ENV
127 #define AFS_USR_DARWIN80_ENV
128 #define AFS_USR_DARWIN90_ENV
129 #define AFS_USR_DARWIN100_ENV
130 #define AFS_NONFSTRANS
131 #define AFS_SYSCALL             230
132 #define DARWIN_REFBASE 0
133
134 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
135 #define AFS_MOUNT_AFS    "afs"
136
137 /* Machine / Operating system information */
138 #if defined(__ppc__)
139 #define sys_ppc_darwin_12       1
140 #define sys_ppc_darwin_13       1
141 #define sys_ppc_darwin_14       1
142 #define sys_ppc_darwin_60       1
143 #define sys_ppc_darwin_70       1
144 #define sys_ppc_darwin_80       1
145 #define sys_ppc_darwin_90       1
146 #define sys_ppc_darwin_100      1
147 #define SYS_NAME                "ppc_darwin_100"
148 #define SYS_NAME_ID             SYS_NAME_ID_ppc_darwin_100
149 #define AFSBIG_ENDIAN           1
150 #elif defined(__i386__)
151 #define sys_x86_darwin_12       1
152 #define sys_x86_darwin_13       1
153 #define sys_x86_darwin_14       1
154 #define sys_x86_darwin_60       1
155 #define sys_x86_darwin_70       1
156 #define sys_x86_darwin_80       1
157 #define sys_x86_darwin_100      1
158 #define SYS_NAME                "x86_darwin_100"
159 #define SYS_NAME_ID             SYS_NAME_ID_x86_darwin_100
160 #define AFSLITTLE_ENDIAN        1
161 #else
162 #error Unsupported architecture
163 #endif
164 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
165
166 #define AFS_UIOSYS      UIO_SYSSPACE
167 #define AFS_UIOUSER     UIO_USERSPACE
168
169 #define AFS_GCPAGS                0     /* if nonzero, garbage collect PAGs */
170 #define RXK_LISTENER_ENV          1
171
172 #define AFS_VFS34       1       /* What is VFS34??? */
173 #define afsio_iov       uio_iov
174 #define afsio_iovcnt    uio_iovcnt
175 #define afsio_offset    uio_offset
176 #define afsio_seg       uio_segflg
177 #define afsio_resid     uio_resid
178 #define AFS_UIOSYS      UIO_SYSSPACE
179 #define AFS_UIOUSER     UIO_USERSPACE
180 #define        VATTR_NULL      usr_vattr_null
181
182 #define AFS_DIRENT
183 #ifndef CMSERVERPREF
184 #define CMSERVERPREF
185 #endif
186
187 #define BIND_8_COMPAT
188 #endif /* AFS_PARAM_H */
189
190 #endif /* !defined(UKERNEL) */