2 * Copyright 2000, International Business Machines Corporation and others.
\r
3 * All Rights Reserved.
\r
5 * This software has been released under the terms of the IBM Public
\r
6 * License. For details, see the LICENSE file in the top-level source
\r
7 * directory or online at http://www.openafs.org/dl/license10.html
\r
13 #define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
\r
15 #define AFS_SUN_ENV 1
\r
16 #define AFS_SUN4_ENV 1
\r
18 #include <afs/afs_sysnames.h>
\r
20 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
\r
21 #define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
\r
23 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
\r
24 #define AFS_SYSCALL 31
\r
26 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
\r
27 #define AFS_MOUNT_AFS "afs"
\r
29 /* Machine / Operating system information */
\r
30 #define sys_sun4_413 1
\r
31 #define SYS_NAME "sun4_413"
\r
32 #define SYS_NAME_ID SYS_NAME_ID_sun4_411
\r
33 #define AFSBIG_ENDIAN 1
\r
34 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
\r
35 #define AFS_HAVE_STATVFS 0
\r
36 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
\r
38 #define KERNEL_HAVE_UERROR 1
\r
40 /* Extra kernel definitions (from kdefs file) */
\r
42 /* sun definitions here */
\r
43 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
\r
44 #define afsio_iov uio_iov
\r
45 #define afsio_iovcnt uio_iovcnt
\r
46 #define afsio_offset uio_offset
\r
47 #define afsio_seg uio_segflg
\r
48 #define afsio_fmode uio_fmode
\r
49 #define afsio_resid uio_resid
\r
50 #define AFS_UIOSYS UIO_SYSSPACE
\r
51 #define AFS_UIOUSER UIO_USERSPACE
\r
52 #define AFS_CLBYTES MCLBYTES
\r
53 #define AFS_MINCHANGE 2
\r
54 #define osi_GetTime(x) uniqtime(x)
\r
55 #define AFS_KALLOC(n) kmem_alloc(n, KMEM_SLEEP)
\r
56 #define AFS_KALLOC_NOSLEEP(n) kmem_alloc(n, KMEM_NOSLEEP)
\r
57 #define AFS_KFREE kmem_free
\r
58 #define VATTR_NULL vattr_null
\r
60 #define memset(A, B, S) bzero(A, S)
\r
61 #define memcpy(B, A, S) bcopy(A, B, S)
\r
62 #define memcmp(A, B, S) bcmp(A, B, S)
\r
63 #define memmove(B, A, S) bcopy(A, B, S)
\r
65 #ifndef CMSERVERPREF
\r
66 #define CMSERVERPREF
\r
69 #endif /* AFS_PARAM_H */
\r