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