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