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
21 #define AFS_64BIT_CLIENT 1
24 #define AFS_64BIT_IOPS_ENV 1 /* needed for NAMEI... */
27 #define AFS_HAVE_FLOCK_SYSID 1
29 #include <afs/afs_sysnames.h>
31 /* Global lock in AFS part of client. */
32 #define AFS_GLOBAL_SUNLOCK 1
33 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
36 #define AFS_SYSCALL 31
38 /* Machine / Operating system information */
39 #define SYS_NAME "rs_aix42"
40 #define SYS_NAME_ID SYS_NAME_ID_rs_aix42
41 #define AFSBIG_ENDIAN 1
42 #define RIOS 1 /* POWERseries 6000. (sj/pc) */
43 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
44 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
45 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
48 #define _POWER 1 /* _POWERseries! */
54 #define KERNEL_HAVE_UERROR 1
55 #define KERNEL_HAVE_PIN 1
57 /* Extra kernel definitions (from kdefs file) */
59 #define AFS_UIOFMODE 1
60 #define afsio_iov uio_iov
61 #define afsio_iovcnt uio_iovcnt
62 #define afsio_offset uio_offset
63 #define afsio_seg uio_segflg
64 #define afsio_fmode uio_fmode
65 #define afsio_resid uio_resid
66 #define AFS_UIOSYS UIO_SYSSPACE
67 #define AFS_UIOUSER UIO_USERSPACE
68 #define AFS_CLBYTES CLBYTES
69 #define AFS_MINCHANGE 2
70 #define osi_GTime(x) time /* something for the silly time(0)?? */
71 #define AFS_KALLOC kmem_alloc
72 #define AFS_KFREE kmem_free
73 #define VATTR_NULL(V) memset((void*)V, -1, sizeof(*(V)))
74 #define va_nodeid va_serialno
77 #endif /* AFS_PARAM_H */
79 #else /* !defined(UKERNEL) */
81 /* This section for user space compiles only */
84 * Copyright 2000, International Business Machines Corporation and others.
85 * All Rights Reserved.
87 * This software has been released under the terms of the IBM Public
88 * License. For details, see the LICENSE file in the top-level source
89 * directory or online at http://www.openafs.org/dl/license10.html
95 #define AFS_64BIT_CLIENT 1
98 /* Used only in vfsck code; is it needed any more???? */
99 #define RXK_LISTENER_ENV 1
100 #define AFS_USERSPACE_IP_ADDR 1
101 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
105 #define UKERNEL 1 /* user space kernel */
107 #define AFS_USR_AIX_ENV 1
108 #define AFS_USR_AIX41_ENV 1
109 #define AFS_USR_AIX42_ENV 1
113 #define AFS_AIX_ENV 1
114 #define AFS_AIX32_ENV 1
115 #define AFS_AIX41_ENV 1
116 #define AFS_AIX42_ENV 1
118 #define AFS_HAVE_FLOCK_SYSID 1
122 #include <afs/afs_sysnames.h>
124 /*#define AFS_GLOBAL_SUNLOCK 1 *//* For global locking */
126 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
127 #define AFS_SYSCALL 105
131 /* Machine / Operating system information */
132 #define sys_rs_aix42 1
133 #define SYS_NAME "rs_aix42"
134 #define SYS_NAME_ID SYS_NAME_ID_rs_aix42
135 #define AFSBIG_ENDIAN 1
136 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
137 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
139 /* Extra kernel definitions (from kdefs file) */
141 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
142 #define AFS_SYSVLOCK 1 /* sys v locking supported */
143 #define afsio_iov uio_iov
144 #define afsio_iovcnt uio_iovcnt
145 #define afsio_offset uio_offset
146 #define afsio_seg uio_segflg
147 #define afsio_fmode uio_fmode
148 #define afsio_resid uio_resid
150 #define AFS_UIOUSER UIO_USERSPACE
151 #define AFS_CLBYTES MCLBYTES
152 #define AFS_MINCHANGE 2
153 #define VATTR_NULL usr_vattr_null
160 #endif /* AFS_PARAM_H */
162 #endif /* !defined(UKERNEL) */