sunx86-59-sysname-id-20040324
[openafs.git] / src / config / param.sunx86_54.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 /*
5  * Copyright 2000, International Business Machines Corporation and others.
6  * All Rights Reserved.
7  * 
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
11  */
12
13 #ifndef AFS_PARAM_H
14 #define AFS_PARAM_H
15
16 #include <afs/afs_sysnames.h>
17
18 #define AFS_VFS_ENV     1
19 /* Used only in vfsck code; is it needed any more???? */
20
21 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
22 #define AFS_GREEDY43_ENV        1       /* Used only in rx/rx_user.c */
23 #define AFS_ENV                 1
24 #define AFS_SUN_ENV             1
25 #define AFS_SUN5_ENV            1
26 #define AFS_SUN52_ENV           1
27 #define AFS_SUN53_ENV           1
28 #define AFS_SUN54_ENV           1
29 #define AFS_X86_ENV             1
30
31 #define AFS_HAVE_FLOCK_SYSID    1
32
33 #include <afs/afs_sysnames.h>
34
35 #define AFS_GLOBAL_SUNLOCK      1       /* For global locking */
36
37 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
38 #define AFS_SYSCALL             105
39
40 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
41 #define AFS_MOUNT_AFS    "afs"
42
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
50
51 /* Extra kernel definitions (from kdefs file) */
52 #ifdef KERNEL
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       AFS_USEBUFFERS  1*/
57 #define afsio_iov               uio_iov
58 #define afsio_iovcnt    uio_iovcnt
59 #define afsio_offset    uio_offset
60 #define afsio_seg               uio_segflg
61 #define afsio_fmode     uio_fmode
62 #define afsio_resid     uio_resid
63 #define AFS_UIOSYS      UIO_SYSSPACE
64 #define AFS_UIOUSER     UIO_USERSPACE
65 #define AFS_CLBYTES     MCLBYTES
66 #define AFS_MINCHANGE   2
67 #define osi_GetTime(x)  uniqtime(x)
68 #define AFS_KALLOC(n)   kmem_alloc(n, KM_SLEEP)
69 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
70 #define AFS_KFREE       kmem_free
71 #define VATTR_NULL      vattr_null
72 #endif /* KERNEL */
73 #define AFS_DIRENT
74 #ifndef CMSERVERPREF
75 #define CMSERVERPREF
76 #endif
77 #define ROOTINO         UFSROOTINO
78
79
80 #endif /* AFS_PARAM_H */
81
82 #else /* !defined(UKERNEL) */
83
84 /* This section for user space compiles only */
85
86
87 #endif /* !defined(UKERNEL) */