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