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