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 #include <afs/afs_sysnames.h>
33 #define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
35 #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
36 #define AFS_SYSCALL 105
38 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
39 #define AFS_MOUNT_AFS "afs"
41 /* Machine / Operating system information */
42 #define sys_sunx86_54 1
43 #define SYS_NAME "sunx86_54"
44 #define SYS_NAME_ID SYS_NAME_ID_sunx86_54
45 #define AFS_HAVE_STATVFS 1 /* System supports statvfs */
46 #define AFSLITTLE_ENDIAN 1
47 #define AFS_VM_RDWR_ENV 1
49 /* Extra kernel definitions (from kdefs file) */
51 /* sun definitions here */
52 #define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
53 #define AFS_SYSVLOCK 1 /* sys v locking supported */
54 /*#define AFS_USEBUFFERS 1*/
55 #define afsio_iov uio_iov
56 #define afsio_iovcnt uio_iovcnt
57 #define afsio_offset uio_offset
58 #define afsio_seg uio_segflg
59 #define afsio_fmode uio_fmode
60 #define afsio_resid uio_resid
61 #define AFS_UIOSYS UIO_SYSSPACE
62 #define AFS_UIOUSER UIO_USERSPACE
63 #define AFS_CLBYTES MCLBYTES
64 #define AFS_MINCHANGE 2
65 #define osi_GetTime(x) uniqtime(x)
66 #define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)
67 #define AFS_KALLOC_NOSLEEP(n) kmem_alloc(n, KM_NOSLEEP)
68 #define AFS_KFREE kmem_free
69 #define VATTR_NULL vattr_null
75 #define ROOTINO UFSROOTINO
78 #endif /* AFS_PARAM_H */
80 #else /* !defined(UKERNEL) */
82 /* This section for user space compiles only */
85 #endif /* !defined(UKERNEL) */