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