Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / config / param.x86_darwin_140.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__) || defined(__amd64__)
14 #define AFS_X86_ENV 1
15 #else
16 #error Unsupported architecture
17 #endif
18 #ifdef __amd64__
19 #define AFS_64BITUSERPOINTER_ENV 1
20 #endif
21 #define AFS_64BIT_SIZEOF 1 /* seriously? */
22 #include <afs/afs_sysnames.h>
23
24 #define AFS_DARWIN_ENV
25 #define AFS_DARWIN70_ENV
26 #define AFS_DARWIN80_ENV
27 #define AFS_DARWIN90_ENV
28 #define AFS_DARWIN100_ENV
29 #define AFS_DARWIN110_ENV
30 #define AFS_DARWIN120_ENV
31 #define AFS_DARWIN130_ENV
32 #define AFS_DARWIN140_ENV
33 #undef AFS_NONFSTRANS
34 #define AFS_NONFSTRANS
35 #define AFS_SYSCALL 230
36 #define AFS_NAMEI_ENV 1
37 #define DARWIN_REFBASE 3
38 #define AFS_WARNUSER_MARINER_ENV 1
39 #define AFS_CACHE_VNODE_PATH
40 #define AFS_NEW_BKG 1
41 #define NEED_IOCTL32
42
43 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
44 #define AFS_MOUNT_AFS "afs"
45
46 /* Machine / Operating system information */
47 #if defined(__ppc__)
48 #define sys_ppc_darwin_12 1
49 #define sys_ppc_darwin_13 1
50 #define sys_ppc_darwin_14 1
51 #define sys_ppc_darwin_60 1
52 #define sys_ppc_darwin_70 1
53 #define sys_ppc_darwin_80 1
54 #define sys_ppc_darwin_90 1
55 #define sys_ppc_darwin_100 1
56 #define SYS_NAME "ppc_darwin_100"
57 #define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_100
58 #define AFSBIG_ENDIAN 1
59 #elif defined(__ppc64__)
60 #define sys_ppc_darwin_12 1
61 #define sys_ppc_darwin_13 1
62 #define sys_ppc_darwin_14 1
63 #define sys_ppc_darwin_60 1
64 #define sys_ppc_darwin_70 1
65 #define sys_ppc_darwin_80 1
66 #define sys_ppc_darwin_90 1
67 #define sys_ppc_darwin_100 1
68 #define sys_ppc64_darwin_100 1
69 #define SYS_NAME "ppc64_darwin_100"
70 #define SYS_NAME_ID SYS_NAME_ID_ppc64_darwin_100
71 #define AFSBIG_ENDIAN 1
72 #elif defined(__i386__)
73 #define sys_x86_darwin_12 1
74 #define sys_x86_darwin_13 1
75 #define sys_x86_darwin_14 1
76 #define sys_x86_darwin_60 1
77 #define sys_x86_darwin_70 1
78 #define sys_x86_darwin_80 1
79 #define sys_x86_darwin_90 1
80 #define sys_x86_darwin_100 1
81 #define sys_x86_darwin_110 1
82 #define sys_x86_darwin_120 1
83 #define sys_x86_darwin_130 1
84 #define sys_x86_darwin_140 1
85 #define SYS_NAME "x86_darwin_140"
86 #define SYS_NAME_ID SYS_NAME_ID_x86_darwin_140
87 #define AFSLITTLE_ENDIAN 1
88 #elif defined(__amd64__)
89 #define sys_x86_darwin_12 1
90 #define sys_x86_darwin_13 1
91 #define sys_x86_darwin_14 1
92 #define sys_x86_darwin_60 1
93 #define sys_x86_darwin_70 1
94 #define sys_x86_darwin_80 1
95 #define sys_x86_darwin_90 1
96 #define sys_x86_darwin_100 1
97 #define sys_amd64_darwin_100 1
98 #define sys_amd64_darwin_110 1
99 #define sys_amd64_darwin_120 1
100 #define sys_amd64_darwin_130 1
101 #define sys_amd64_darwin_140 1
102 #define SYS_NAME "amd64_darwin_140"
103 #define SYS_NAME_ID SYS_NAME_ID_amd64_darwin_140
104 #define AFSLITTLE_ENDIAN 1
105 #else
106 #error Unsupported architecture
107 #endif
108 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
109
110 #define AFS_GCPAGS 0
111 #define RXK_UPCALL_ENV 1
112 #define RXK_TIMEDSLEEP_ENV 1
113
114 #ifdef KERNEL
115 #undef MACRO_BEGIN
116 #undef MACRO_END
117 #include <kern/macro_help.h>
118 #define AFS_GLOBAL_SUNLOCK 1
119 #define AFS_VFS34 1 /* What is VFS34??? */
120 #define afsio_iov uio_iov
121 #define afsio_iovcnt uio_iovcnt
122 #define afsio_offset uio_offset
123 #define afsio_seg uio_segflg
124 #define afsio_resid uio_resid
125 #define AFS_UIOSYS UIO_SYSSPACE
126 #define AFS_UIOUSER UIO_USERSPACE
127 #define AFS_CLBYTES CLBYTES
128 #define osi_GetTime(x) microtime(x)
129 #define AFS_KALLOC(x) _MALLOC(x, M_TEMP, M_WAITOK)
130 #define AFS_KFREE(x,y) _FREE(x,M_TEMP)
131 #define v_count v_usecount
132 #define v_vfsp v_mount
133 #define vfs_bsize mnt_stat.f_bsize
134 #define vfs_fsid mnt_stat.f_fsid
135 #define va_nodeid va_fileid
136 #define vfs_vnodecovered mnt_vnodecovered
137 #define direct dirent
138
139 #define BIND_8_COMPAT
140
141 #endif
142 #endif /* AFS_PARAM_H */
143
144 #else /* !defined(UKERNEL) */
145
146 /* This section for user space compiles only */
147
148 #ifndef AFS_PARAM_H
149 #define AFS_PARAM_H
150
151 #define AFS_ENV 1
152 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
153 #define AFS_64BIT_CLIENT 1
154 #if defined(__ppc__)
155 #define AFS_PPC_ENV 1
156 #elif defined(__i386__) || defined(__amd64__)
157 #define AFS_X86_ENV 1
158 #else
159 #error Unsupported architecture
160 #endif
161 #ifdef __amd64__
162 #define AFS_64BITUSERPOINTER_ENV 1
163 #endif
164
165 #include <afs/afs_sysnames.h>
166 #define AFS_USERSPACE_ENV
167 #define AFS_USR_DARWIN_ENV
168 #define AFS_USR_DARWIN70_ENV
169 #define AFS_USR_DARWIN80_ENV
170 #define AFS_USR_DARWIN90_ENV
171 #define AFS_USR_DARWIN100_ENV
172 #define AFS_USR_DARWIN110_ENV
173 #define AFS_USR_DARWIN120_ENV
174 #define AFS_USR_DARWIN130_ENV
175 #define AFS_USR_DARWIN140_ENV
176 #undef AFS_NONFSTRANS
177 #define AFS_NONFSTRANS
178 #define AFS_SYSCALL 230
179 #define DARWIN_REFBASE 0
180 #define AFS_WARNUSER_MARINER_ENV 1
181
182 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
183 #define AFS_MOUNT_AFS "afs"
184
185 /* Machine / Operating system information */
186 #if defined(__ppc__)
187 #define sys_ppc_darwin_12 1
188 #define sys_ppc_darwin_13 1
189 #define sys_ppc_darwin_14 1
190 #define sys_ppc_darwin_60 1
191 #define sys_ppc_darwin_70 1
192 #define sys_ppc_darwin_80 1
193 #define sys_ppc_darwin_90 1
194 #define sys_ppc_darwin_100 1
195 #define SYS_NAME "ppc_darwin_100"
196 #define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_100
197 #define AFSBIG_ENDIAN 1
198 #elif defined(__i386__)
199 #define sys_x86_darwin_12 1
200 #define sys_x86_darwin_13 1
201 #define sys_x86_darwin_14 1
202 #define sys_x86_darwin_60 1
203 #define sys_x86_darwin_70 1
204 #define sys_x86_darwin_80 1
205 #define sys_x86_darwin_100 1
206 #define sys_x86_darwin_110 1
207 #define sys_x86_darwin_120 1
208 #define sys_x86_darwin_130 1
209 #define sys_x64_darwin_140 1
210 #define SYS_NAME "x86_darwin_140"
211 #define SYS_NAME_ID SYS_NAME_ID_x86_darwin_140
212 #define AFSLITTLE_ENDIAN 1
213 #elif defined(__amd64__)
214 #define sys_x86_darwin_12 1
215 #define sys_x86_darwin_13 1
216 #define sys_x86_darwin_14 1
217 #define sys_x86_darwin_60 1
218 #define sys_x86_darwin_70 1
219 #define sys_x86_darwin_80 1
220 #define sys_x86_darwin_100 1
221 #define sys_amd64_darwin_100 1
222 #define sys_amd64_darwin_110 1
223 #define sys_amd64_darwin_120 1
224 #define sys_amd64_darwin_130 1
225 #define sys_amd64_darwin_140 1
226 #define SYS_NAME "amd64_darwin_140"
227 #define SYS_NAME_ID SYS_NAME_ID_amd64_darwin_140
228 #define AFSLITTLE_ENDIAN 1
229 #else
230 #error Unsupported architecture
231 #endif
232 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
233
234 #define AFS_UIOSYS UIO_SYSSPACE
235 #define AFS_UIOUSER UIO_USERSPACE
236
237 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
238 #define RXK_LISTENER_ENV 1
239
240 #define AFS_VFS34 1 /* What is VFS34??? */
241 #define afsio_iov uio_iov
242 #define afsio_iovcnt uio_iovcnt
243 #define afsio_offset uio_offset
244 #define afsio_seg uio_segflg
245 #define afsio_resid uio_resid
246 #define AFS_UIOSYS UIO_SYSSPACE
247 #define AFS_UIOUSER UIO_USERSPACE
248 #define VATTR_NULL usr_vattr_null
249
250 #define AFS_DIRENT
251 #ifndef CMSERVERPREF
252 #define CMSERVERPREF
253 #endif
254
255 #define BIND_8_COMPAT
256 #endif /* AFS_PARAM_H */
257
258 #endif /* !defined(UKERNEL) */