1 #ifndef _PARAM_RS_AIX42_H_
2 #define _PARAM_RS_AIX42_H_
5 #define AFS_AIX32_ENV 1
6 #define AFS_AIX41_ENV 1
7 #define AFS_AIX42_ENV 1
9 #include <afs/afs_sysnames.h>
11 /* Global lock in AFS part of client. */
12 #define AFS_GLOBAL_SUNLOCK 1
13 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
15 /* File system entry (used if vmount.h doesn't define MNT_AFS */
16 #define AFS_MOUNT_AFS 4
18 /* Machine / Operating system information */
19 #define SYS_NAME "rs_aix42"
20 #define SYS_NAME_ID SYS_NAME_ID_rs_aix42
21 #define AFSBIG_ENDIAN 1
22 #define RIOS 1 /* POWERseries 6000. (sj/pc) */
23 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
24 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
25 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
28 #define _POWER 1 /* _POWERseries! */
34 /* Extra kernel definitions (from kdefs file) */
36 #define AFS_SHORTGID 1
37 #define AFS_UIOFMODE 1
38 #define afsio_iov uio_iov
39 #define afsio_iovcnt uio_iovcnt
40 #define afsio_offset uio_offset
41 #define afsio_seg uio_segflg
42 #define afsio_fmode uio_fmode
43 #define afsio_resid uio_resid
44 #define AFS_UIOSYS UIO_SYSSPACE
45 #define AFS_UIOUSER UIO_USERSPACE
46 #define AFS_CLBYTES CLBYTES
47 #define AFS_MINCHANGE 2
48 #define osi_GetTime(x) do {curtime(x); (x)->tv_usec = (x)->tv_usec/1000;} while (0)
49 #define osi_GTime(x) time /* something for the silly time(0)?? */
50 #define AFS_KALLOC kmem_alloc
51 #define AFS_KFREE kmem_free
52 #define VATTR_NULL(V) memset((void*)V, -1, sizeof(*(V)))
53 #define va_nodeid va_serialno
56 #endif /* _PARAM_RS_AIX42_H_ */