2 /* This section for kernel libafs compiles only */
5 * Copyright 2000, International Business Machines Corporation and others.
8 * This software has been released under the terms of the IBM Public
9 * License. For details, see the LICENSE file in the top-level source
10 * directory or online at http://www.openafs.org/dl/license10.html
17 #define AFS_AIX32_ENV 1
18 #define AFS_AIX41_ENV 1
19 #define AFS_AIX42_ENV 1
20 #define AFS_AIX51_ENV 1
21 #define AFS_AIX52_ENV 1
22 #define AFS_AIX53_ENV 1
24 #define AFS_64BIT_ENV 1
25 #define AFS_64BIT_CLIENT 1
26 #define AFS_NAMEI_ENV 1
28 #define AFS_64BIT_IOPS_ENV 1
30 #define BITMAP_LATER 1
31 #define FAST_RESTART 1
33 #define AFS_HAVE_FLOCK_SYSID 1
35 #include <afs/afs_sysnames.h>
37 /* Global lock in AFS part of client. */
38 #define AFS_GLOBAL_SUNLOCK 1
39 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
41 /* File system entry (used if vmount.h doesn't define MNT_AFS */
42 #define AFS_MOUNT_AFS 4
43 #define AFS_SYSCALL 31
45 /* Machine / Operating system information */
46 #define SYS_NAME "rs_aix53"
47 #define SYS_NAME_ID SYS_NAME_ID_rs_aix53
48 #define AFSBIG_ENDIAN 1
49 #define RIOS 1 /* POWERseries 6000. (sj/pc) */
50 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
51 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
52 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
55 #define _POWER 1 /* _POWERseries! */
61 #define KERNEL_HAVE_UERROR 1
62 #define KERNEL_HAVE_PIN 1
64 /* Extra kernel definitions (from kdefs file) */
66 #define AFS_SHORTGID 1
67 #define AFS_UIOFMODE 1
68 #define afsio_iov uio_iov
69 #define afsio_iovcnt uio_iovcnt
70 #define afsio_offset uio_offset
71 #define afsio_seg uio_segflg
72 #define afsio_fmode uio_fmode
73 #define afsio_resid uio_resid
74 #define AFS_UIOSYS UIO_SYSSPACE
75 #define AFS_UIOUSER UIO_USERSPACE
76 #define AFS_CLBYTES CLBYTES
77 #define AFS_MINCHANGE 2
78 #define osi_GetTime(x) do {curtime(x); (x)->tv_usec = (x)->tv_usec/1000;} while (0)
79 #define osi_GTime(x) time /* something for the silly time(0)?? */
80 #define AFS_KALLOC kmem_alloc
81 #define AFS_KFREE kmem_free
82 #define VATTR_NULL(V) memset((void*)V, -1, sizeof(*(V)))
83 #define va_nodeid va_serialno
86 #endif /* AFS_PARAM_H */
88 #else /* !defined(UKERNEL) */
90 /* This section for user space compiles only */
93 * Copyright 2000, International Business Machines Corporation and others.
94 * All Rights Reserved.
96 * This software has been released under the terms of the IBM Public
97 * License. For details, see the LICENSE file in the top-level source
98 * directory or online at http://www.openafs.org/dl/license10.html
104 #define AFS_64BIT_ENV 1
105 #define AFS_64BIT_CLIENT 1
106 #define AFS_NAMEI_ENV 1
108 #define AFS_64BIT_IOPS_ENV 1
110 #define BITMAP_LATER 1
111 #define FAST_RESTART 1
113 #define AFS_VFS_ENV 1
114 /* Used only in vfsck code; is it needed any more???? */
115 #define RXK_LISTENER_ENV 1
116 #define AFS_USERSPACE_IP_ADDR 1
117 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
121 #define UKERNEL 1 /* user space kernel */
123 #define AFS_USR_AIX_ENV 1
124 #define AFS_USR_AIX41_ENV 1
125 #define AFS_USR_AIX42_ENV 1
126 #define AFS_USR_AIX51_ENV 1
130 #define AFS_AIX_ENV 1
131 #define AFS_AIX32_ENV 1
132 #define AFS_AIX41_ENV 1
133 #define AFS_AIX42_ENV 1
134 #define AFS_AIX51_ENV 1
136 #define AFS_HAVE_FLOCK_SYSID 1
140 #include <afs/afs_sysnames.h>
142 /*#define AFS_GLOBAL_SUNLOCK 1 *//* For global locking */
144 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
145 #define AFS_SYSCALL 105
147 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
148 #define AFS_MOUNT_AFS 4
150 /* Machine / Operating system information */
151 #define sys_rs_aix51 1
152 #define SYS_NAME "rs_aix51"
153 #define SYS_NAME_ID SYS_NAME_ID_rs_aix51
154 #define AFSBIG_ENDIAN 1
155 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
156 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
158 /* Extra kernel definitions (from kdefs file) */
160 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
161 #define AFS_SYSVLOCK 1 /* sys v locking supported */
162 /*#define AFS_USEBUFFERS 1*/
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_fmode uio_fmode
168 #define afsio_resid uio_resid
170 #define AFS_UIOUSER UIO_USERSPACE
171 #define AFS_CLBYTES MCLBYTES
172 #define AFS_MINCHANGE 2
173 #define VATTR_NULL usr_vattr_null
180 #endif /* AFS_PARAM_H */
182 #endif /* !defined(UKERNEL) */