windows-version-1-5-20050817
[openafs.git] / src / config / param.ppc_darwin_80.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 #ifndef AFS_PARAM_H
5 #define AFS_PARAM_H
6
7 #define AFS_ENV                 1
8 #define AFS_64BIT_ENV           1       /* Defines afs_int32 as int, not long. */
9 #define AFS_64BIT_CLIENT        1
10 #define AFS_64BIT_IOPS_ENV 1
11 #define AFS_PPC_ENV 1
12 #define AFS_VFSINCL_ENV 1
13
14 #include <afs/afs_sysnames.h>
15
16 #define AFS_DARWIN_ENV
17 #define AFS_DARWIN13_ENV
18 #define AFS_DARWIN14_ENV
19 #define AFS_DARWIN60_ENV
20 #define AFS_DARWIN70_ENV
21 #define AFS_DARWIN80_ENV
22 #define AFS_NONFSTRANS
23 #define AFS_SYSCALL             230
24 #define AFS_NAMEI_ENV 1
25
26 #define AFS_BOZONLOCK_ENV 1
27
28 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
29 #define AFS_MOUNT_AFS    "afs"
30
31 /* Machine / Operating system information */
32 #define sys_ppc_darwin_12   1
33 #define sys_ppc_darwin_13   1
34 #define sys_ppc_darwin_14   1
35 #define sys_ppc_darwin_60   1
36 #define sys_ppc_darwin_70   1
37 #define sys_ppc_darwin_80   1
38 #define SYS_NAME        "ppc_darwin_80"
39 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_80
40 #define AFSBIG_ENDIAN   1
41 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
42
43 #define AFS_GCPAGS                1     /* if nonzero, garbage collect PAGs */
44 #define RXK_LISTENER_ENV         1
45
46 #ifdef KERNEL
47 #undef MACRO_BEGIN
48 #undef MACRO_END
49 #include <kern/macro_help.h>
50 #define AFS_GLOBAL_SUNLOCK        1
51 #define AFS_VFS34       1       /* What is VFS34??? */
52 #define afsio_iov       uio_iov
53 #define afsio_iovcnt    uio_iovcnt
54 #define afsio_offset    uio_offset
55 #define afsio_seg       uio_segflg
56 #define afsio_resid     uio_resid
57 #define AFS_UIOSYS      UIO_SYSSPACE
58 #define AFS_UIOUSER     UIO_USERSPACE
59 #define AFS_CLBYTES     CLBYTES
60 #define osi_GetTime(x)  microtime(x)
61 #define AFS_KALLOC(x)   kalloc(x)
62 #define AFS_KFREE(x,y)  kfree(x,y)
63 #define v_count         v_usecount
64 #define v_vfsp          v_mount
65 #define vfs_bsize       mnt_stat.f_bsize
66 #define vfs_fsid        mnt_stat.f_fsid
67 #define va_nodeid       va_fileid
68 #define vfs_vnodecovered mnt_vnodecovered
69 #define direct          dirent
70 #define vnode_t         struct vnode
71
72 //#define VN_RELE(vp)     vrele(((struct vnode *)(vp)))
73 //#define VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
74 #define BIND_8_COMPAT
75
76 #endif
77 #endif /* AFS_PARAM_H */
78
79 #else /* !defined(UKERNEL) */
80
81 /* This section for user space compiles only */
82
83 #ifndef AFS_PARAM_H
84 #define AFS_PARAM_H
85
86 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
87 #define AFS_ENV                 1
88 #define AFS_64BIT_ENV           1       /* Defines afs_int32 as int, not long. */
89 #define AFS_PPC_ENV 1
90
91 #include <afs/afs_sysnames.h>
92 #define AFS_USERSPACE_ENV
93 #define AFS_USR_DARWIN_ENV
94 #define AFS_USR_DARWIN13_ENV
95 #define AFS_USR_DARWIN14_ENV
96 #define AFS_USR_DARWIN60_ENV
97 #define AFS_USR_DARWIN70_ENV
98 #define AFS_USR_DARWIN80_ENV
99 #define AFS_NONFSTRANS
100 #define AFS_SYSCALL             230
101 #define DARWIN_REFBASE 0
102
103 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
104 #define AFS_MOUNT_AFS    "afs"
105
106 /* Machine / Operating system information */
107 #define sys_ppc_darwin_12   1
108 #define sys_ppc_darwin_13   1
109 #define sys_ppc_darwin_14   1
110 #define sys_ppc_darwin_60   1
111 #define sys_ppc_darwin_70   1
112 #define sys_ppc_darwin_80   1
113 #define SYS_NAME        "ppc_darwin_80"
114 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_80
115 #define AFSBIG_ENDIAN   1
116 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
117
118 #define AFS_UIOSYS      UIO_SYSSPACE
119 #define AFS_UIOUSER     UIO_USERSPACE
120
121 #define AFS_GCPAGS                0     /* if nonzero, garbage collect PAGs */
122 #define RXK_LISTENER_ENV          1
123
124 #define AFS_VFS34       1       /* What is VFS34??? */
125 #define afsio_iov       uio_iov
126 #define afsio_iovcnt    uio_iovcnt
127 #define afsio_offset    uio_offset
128 #define afsio_seg       uio_segflg
129 #define afsio_resid     uio_resid
130 #define AFS_UIOSYS      UIO_SYSSPACE
131 #define AFS_UIOUSER     UIO_USERSPACE
132 #define        VATTR_NULL      usr_vattr_null
133
134 #define AFS_DIRENT
135 #ifndef CMSERVERPREF
136 #define CMSERVERPREF
137 #endif
138
139 #define BIND_8_COMPAT
140 #endif /* AFS_PARAM_H */
141
142 #endif /* !defined(UKERNEL) */