2 /* This section for kernel libafs compiles only */
\r
5 * Copyright 2000, International Business Machines Corporation and others.
\r
6 * All Rights Reserved.
\r
8 * This software has been released under the terms of the IBM Public
\r
9 * License. For details, see the LICENSE file in the top-level source
\r
10 * directory or online at http://www.openafs.org/dl/license10.html
\r
16 #define AFS_AIX_ENV 1
\r
17 #define AFS_AIX32_ENV 1
\r
18 #define AFS_AIX41_ENV 1
\r
19 #define AFS_AIX42_ENV 1
\r
20 #define AFS_AIX51_ENV 1
\r
21 #define AFS_AIX52_ENV 1
\r
22 #define AFS_AIX53_ENV 1
\r
23 #define AFS_AIX61_ENV 1
\r
25 #define AFS_64BIT_ENV 1
\r
26 #define AFS_64BIT_CLIENT 1
\r
27 #define AFS_NAMEI_ENV 1
\r
28 #ifdef AFS_NAMEI_ENV
\r
29 #define AFS_64BIT_IOPS_ENV 1
\r
32 #define AFS_HAVE_FLOCK_SYSID 1
\r
34 #include <afs/afs_sysnames.h>
\r
36 /* Global lock in AFS part of client. */
\r
37 #define AFS_GLOBAL_SUNLOCK 1
\r
38 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
\r
40 /* File system entry (used if vmount.h doesn't define MNT_AFS */
\r
41 #define AFS_MOUNT_AFS 4
\r
42 #define AFS_SYSCALL 31
\r
44 /* Machine / Operating system information */
\r
45 #define SYS_NAME "rs_aix61"
\r
46 #define SYS_NAME_ID SYS_NAME_ID_rs_aix61
\r
47 #define AFSBIG_ENDIAN 1
\r
48 #define RIOS 1 /* POWERseries 6000. (sj/pc) */
\r
49 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
\r
50 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
\r
51 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
\r
54 #define _POWER 1 /* _POWERseries! */
\r
60 #define KERNEL_HAVE_UERROR 1
\r
61 #define KERNEL_HAVE_PIN 1
\r
63 /* Extra kernel definitions (from kdefs file) */
\r
65 #define AFS_SHORTGID 1
\r
66 #define AFS_UIOFMODE 1
\r
67 #define afsio_iov uio_iov
\r
68 #define afsio_iovcnt uio_iovcnt
\r
69 #define afsio_offset uio_offset
\r
70 #define afsio_seg uio_segflg
\r
71 #define afsio_fmode uio_fmode
\r
72 #define afsio_resid uio_resid
\r
73 #define AFS_UIOSYS UIO_SYSSPACE
\r
74 #define AFS_UIOUSER UIO_USERSPACE
\r
75 #define AFS_CLBYTES CLBYTES
\r
76 #define AFS_MINCHANGE 2
\r
77 #define osi_GetTime(x) do {curtime(x); (x)->tv_usec = (x)->tv_usec/1000;} while (0)
\r
78 #define osi_GTime(x) time /* something for the silly time(0)?? */
\r
79 #define AFS_KALLOC kmem_alloc
\r
80 #define AFS_KFREE kmem_free
\r
81 #define VATTR_NULL(V) memset((void*)V, -1, sizeof(*(V)))
\r
82 #define va_nodeid va_serialno
\r
83 #endif /* !_KERNEL */
\r
85 #endif /* AFS_PARAM_H */
\r
87 #else /* !defined(UKERNEL) */
\r
89 /* This section for user space compiles only */
\r
92 * Copyright 2000, International Business Machines Corporation and others.
\r
93 * All Rights Reserved.
\r
95 * This software has been released under the terms of the IBM Public
\r
96 * License. For details, see the LICENSE file in the top-level source
\r
97 * directory or online at http://www.openafs.org/dl/license10.html
\r
100 #ifndef AFS_PARAM_H
\r
101 #define AFS_PARAM_H
\r
103 #define AFS_64BIT_ENV 1
\r
104 #define AFS_64BIT_CLIENT 1
\r
105 #define AFS_NAMEI_ENV 1
\r
106 #ifdef AFS_NAMEI_ENV
\r
107 #define AFS_64BIT_IOPS_ENV 1
\r
109 #define BITMAP_LATER 1
\r
110 #define FAST_RESTART 1
\r
112 #define AFS_VFS_ENV 1
\r
113 /* Used only in vfsck code; is it needed any more???? */
\r
114 #define RXK_LISTENER_ENV 1
\r
115 #define AFS_USERSPACE_IP_ADDR 1
\r
116 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
\r
120 #define UKERNEL 1 /* user space kernel */
\r
122 #define AFS_USR_AIX_ENV 1
\r
123 #define AFS_USR_AIX41_ENV 1
\r
124 #define AFS_USR_AIX42_ENV 1
\r
125 #define AFS_USR_AIX51_ENV 1
\r
129 #define AFS_AIX_ENV 1
\r
130 #define AFS_AIX32_ENV 1
\r
131 #define AFS_AIX41_ENV 1
\r
132 #define AFS_AIX42_ENV 1
\r
133 #define AFS_AIX51_ENV 1
\r
135 #define AFS_HAVE_FLOCK_SYSID 1
\r
137 #endif /* KERNEL */
\r
139 #include <afs/afs_sysnames.h>
\r
141 /*#define AFS_GLOBAL_SUNLOCK 1 *//* For global locking */
\r
143 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
\r
144 #define AFS_SYSCALL 105
\r
146 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
\r
147 #define AFS_MOUNT_AFS 4
\r
149 /* Machine / Operating system information */
\r
150 #define sys_rs_aix51 1
\r
151 #define SYS_NAME "rs_aix51"
\r
152 #define SYS_NAME_ID SYS_NAME_ID_rs_aix51
\r
153 #define AFSBIG_ENDIAN 1
\r
154 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
\r
155 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
\r
157 /* Extra kernel definitions (from kdefs file) */
\r
159 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
\r
160 #define AFS_SYSVLOCK 1 /* sys v locking supported */
\r
161 #define afsio_iov uio_iov
\r
162 #define afsio_iovcnt uio_iovcnt
\r
163 #define afsio_offset uio_offset
\r
164 #define afsio_seg uio_segflg
\r
165 #define afsio_fmode uio_fmode
\r
166 #define afsio_resid uio_resid
\r
167 #define AFS_UIOSYS 1
\r
168 #define AFS_UIOUSER UIO_USERSPACE
\r
169 #define AFS_CLBYTES MCLBYTES
\r
170 #define AFS_MINCHANGE 2
\r
171 #define VATTR_NULL usr_vattr_null
\r
172 #endif /* KERNEL */
\r
174 #ifndef CMSERVERPREF
\r
175 #define CMSERVERPREF
\r
178 #endif /* AFS_PARAM_H */
\r
180 #endif /* !defined(UKERNEL) */
\r