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