Windows: Version Update 1.5.6200.0
[openafs.git] / src / config / param.sun4_413.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 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
17 #define AFS_ENV                 1
18 #define AFS_SUN_ENV             1
19 #define AFS_SUN4_ENV            1
20     
21 #include <afs/afs_sysnames.h>
22     
23 #define AFS_GCPAGS              1       /* if nonzero, garbage collect PAGs */
24 #define AFS_GLOBAL_SUNLOCK      1       /* For global locking */
25     
26 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
27 #define AFS_SYSCALL             31
28     
29 /* File system entry (used if mount.h doesn't define MOUNT_AFS */ 
30 #define AFS_MOUNT_AFS    "afs"
31     
32 /* Machine / Operating system information */ 
33 #define sys_sun4_413    1
34 #define SYS_NAME        "sun4_413"
35 #define SYS_NAME_ID     SYS_NAME_ID_sun4_411
36 #define AFSBIG_ENDIAN   1
37 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
38 #define AFS_HAVE_STATVFS 0
39 #define AFS_VM_RDWR_ENV 1       /* read/write implemented via VM */
40     
41 #define KERNEL_HAVE_UERROR 1
42     
43 /* Extra kernel definitions (from kdefs file) */ 
44 #ifdef KERNEL
45 /* sun definitions here */ 
46 #define AFS_UIOFMODE            1       /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
47 #define afsio_iov               uio_iov
48 #define afsio_iovcnt    uio_iovcnt
49 #define afsio_offset    uio_offset
50 #define afsio_seg               uio_segflg
51 #define afsio_fmode     uio_fmode
52 #define afsio_resid     uio_resid
53 #define AFS_UIOSYS      UIO_SYSSPACE
54 #define AFS_UIOUSER     UIO_USERSPACE
55 #define AFS_CLBYTES     MCLBYTES
56 #define AFS_MINCHANGE   2
57 #define osi_GetTime(x)  uniqtime(x)
58 #define AFS_KALLOC(n)   kmem_alloc(n, KMEM_SLEEP)
59 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KMEM_NOSLEEP)
60 #define AFS_KFREE       kmem_free
61 #define VATTR_NULL      vattr_null
62 #endif  /* KERNEL */
63 #define memset(A, B, S) bzero(A, S)
64 #define memcpy(B, A, S) bcopy(A, B, S) 
65 #define memcmp(A, B, S) bcmp(A, B, S)
66 #define memmove(B, A, S) bcopy(A, B, S)
67 #define AFS_DIRENT      
68 #ifndef CMSERVERPREF
69 #define CMSERVERPREF
70 #endif /*  */
71     
72 #endif  /* AFS_PARAM_H */
73 #else /* !defined(UKERNEL) */
74
75 /* This section for user space compiles only */
76
77 /*
78  * Copyright 2000, International Business Machines Corporation and others.
79  * All Rights Reserved.
80  * 
81  * This software has been released under the terms of the IBM Public
82  * License.  For details, see the LICENSE file in the top-level source
83  * directory or online at http://www.openafs.org/dl/license10.html
84  */  
85     
86 #ifndef AFS_PARAM_H
87 #define AFS_PARAM_H
88     
89 #define UKERNEL
90 #define AFS_ENV                 1
91 /* define AFS_USR_XXX_ENV XXX */ 
92     
93 #include <afs/afs_sysnames.h>
94     
95 #define RXK_LISTENER_ENV        1
96 #define AFS_USERSPACE_IP_ADDR   1
97 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
98     
99 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
100 #define AFS_SYSCALL             31
101     
102 /* File system entry (used if mount.h doesn't define MOUNT_AFS */ 
103 #define AFS_MOUNT_AFS    1
104     
105 /* Machine / Operating system information */ 
106 #define sys_sun4_413    1
107 #define SYS_NAME        "sun4_413"
108 #define SYS_NAME_ID     SYS_NAME_ID_sun4_411
109 #define AFSBIG_ENDIAN   1
110 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
111 #define AFS_HAVE_STATVFS 0
112     
113 /* Extra kernel definitions (from kdefs file) */ 
114 #ifdef KERNEL
115 /* sun definitions here */ 
116 #define AFS_UIOFMODE            1       /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
117 #define afsio_iov               uio_iov
118 #define afsio_iovcnt    uio_iovcnt
119 #define afsio_offset    uio_offset
120 #define afsio_seg               uio_segflg
121 #define afsio_fmode     uio_fmode
122 #define afsio_resid     uio_resid
123 #define AFS_UIOSYS      1
124 #define AFS_UIOUSER     UIO_USERSPACE
125 #define AFS_CLBYTES     MCLBYTES
126 #define AFS_MINCHANGE   2
127 #define VATTR_NULL      usr_vattr_null
128 #endif  /* KERNEL */
129 #define AFS_DIRENT      
130 #ifndef CMSERVERPREF
131 #define CMSERVERPREF
132 #endif /*  */
133     
134 #endif  /* AFS_PARAM_H */
135 #endif /* !defined(UKERNEL) */