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
16 #include <afs/afs_sysnames.h>
19 /* Used only in vfsck code; is it needed any more???? */
21 #define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
22 #define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
25 #define AFS_SUN5_ENV 1
26 #define AFS_SUN52_ENV 1
27 #define AFS_SUN53_ENV 1
28 #define AFS_SUN54_ENV 1
31 #define AFS_HAVE_FLOCK_SYSID 1
33 #include <afs/afs_sysnames.h>
35 #define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
37 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
38 #define AFS_SYSCALL 105
40 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
41 #define AFS_MOUNT_AFS "afs"
43 /* Machine / Operating system information */
44 #define sys_sunx86_54 1
45 #define SYS_NAME "sunx86_54"
46 #define SYS_NAME_ID SYS_NAME_ID_sunx86_54
47 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
48 #define AFSLITTLE_ENDIAN 1
49 #define AFS_VM_RDWR_ENV 1
51 /* Extra kernel definitions (from kdefs file) */
53 /* sun definitions here */
54 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
55 #define AFS_SYSVLOCK 1 /* sys v locking supported */
56 #define afsio_iov uio_iov
57 #define afsio_iovcnt uio_iovcnt
58 #define afsio_offset uio_offset
59 #define afsio_seg uio_segflg
60 #define afsio_fmode uio_fmode
61 #define afsio_resid uio_resid
62 #define AFS_UIOSYS UIO_SYSSPACE
63 #define AFS_UIOUSER UIO_USERSPACE
64 #define AFS_CLBYTES MCLBYTES
65 #define AFS_MINCHANGE 2
66 #define osi_GetTime(x) uniqtime(x)
67 #define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)
68 #define AFS_KALLOC_NOSLEEP(n) kmem_alloc(n, KM_NOSLEEP)
69 #define AFS_KFREE kmem_free
70 #define VATTR_NULL vattr_null
76 #define ROOTINO UFSROOTINO
79 #endif /* AFS_PARAM_H */
81 #else /* !defined(UKERNEL) */
83 /* This section for user space compiles only */
86 #endif /* !defined(UKERNEL) */