2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
14 #define AFS_AIX32_ENV 1
15 #define AFS_AIX41_ENV 1
16 #define AFS_AIX42_ENV 1
17 #define AFS_AIX51_ENV 1
19 #define AFS_64BIT_ENV 1
20 #define AFS_64BIT_CLIENT 1
21 #define AFS_NAMEI_ENV 1
23 #define AFS_64BIT_IOPS_ENV 1
25 #define BITMAP_LATER 1
26 #define FAST_RESTART 1
28 #include <afs/afs_sysnames.h>
30 /* Global lock in AFS part of client. */
31 #define AFS_GLOBAL_SUNLOCK 1
32 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
34 /* File system entry (used if vmount.h doesn't define MNT_AFS */
35 #define AFS_MOUNT_AFS 4
36 #define AFS_SYSCALL 31
38 /* Machine / Operating system information */
39 #define SYS_NAME "rs_aix51"
40 #define SYS_NAME_ID SYS_NAME_ID_rs_aix51
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 /* Extra kernel definitions (from kdefs file) */
56 #define AFS_SHORTGID 1
57 #define AFS_UIOFMODE 1
58 #define afsio_iov uio_iov
59 #define afsio_iovcnt uio_iovcnt
60 #define afsio_offset uio_offset
61 #define afsio_seg uio_segflg
62 #define afsio_fmode uio_fmode
63 #define afsio_resid uio_resid
64 #define AFS_UIOSYS UIO_SYSSPACE
65 #define AFS_UIOUSER UIO_USERSPACE
66 #define AFS_CLBYTES CLBYTES
67 #define AFS_MINCHANGE 2
68 #define osi_GetTime(x) do {curtime(x); (x)->tv_usec = (x)->tv_usec/1000;} while (0)
69 #define osi_GTime(x) time /* something for the silly time(0)?? */
70 #define AFS_KALLOC kmem_alloc
71 #define AFS_KFREE kmem_free
72 #define VATTR_NULL(V) memset((void*)V, -1, sizeof(*(V)))
73 #define va_nodeid va_serialno
76 #endif /* AFS_PARAM_H */