2 /* This section for kernel libafs compiles only */
8 #define AFS_64BIT_IOPS_ENV 1
10 #define AFS_VFSINCL_ENV 1
12 #include <afs/afs_sysnames.h>
14 #define AFS_DARWIN_ENV
15 #define AFS_DARWIN70_ENV
17 #define AFS_NONFSTRANS
18 #define AFS_SYSCALL 230
19 #define AFS_NAMEI_ENV 1
20 #define DARWIN_REFBASE 3
22 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
23 #define AFS_MOUNT_AFS "afs"
25 /* Machine / Operating system information */
26 #define sys_ppc_darwin_12 1
27 #define sys_ppc_darwin_13 1
28 #define sys_ppc_darwin_14 1
29 #define sys_ppc_darwin_60 1
30 #define sys_ppc_darwin_70 1
31 #define SYS_NAME "ppc_darwin_70"
32 #define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_70
33 #define AFSBIG_ENDIAN 1
34 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
36 #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
37 #define RXK_LISTENER_ENV 1
42 #include <kern/macro_help.h>
43 #define AFS_GLOBAL_SUNLOCK 1
44 #define AFS_VFS34 1 /* What is VFS34??? */
45 #define afsio_iov uio_iov
46 #define afsio_iovcnt uio_iovcnt
47 #define afsio_offset uio_offset
48 #define afsio_seg uio_segflg
49 #define afsio_resid uio_resid
50 #define AFS_UIOSYS UIO_SYSSPACE
51 #define AFS_UIOUSER UIO_USERSPACE
52 #define AFS_CLBYTES CLBYTES
53 #define osi_GetTime(x) microtime(x)
54 #define AFS_KALLOC(x) kalloc(x)
55 #define AFS_KFREE(x,y) kfree(x,y)
56 #define v_count v_usecount
57 #define v_vfsp v_mount
58 #define vfs_bsize mnt_stat.f_bsize
59 #define vfs_fsid mnt_stat.f_fsid
60 #define va_nodeid va_fileid
61 #define vfs_vnodecovered mnt_vnodecovered
63 #define vnode_t struct vnode *
64 #define mount_t struct mount *
66 //#define VN_RELE(vp) vrele(((struct vnode *)(vp)))
67 //#define VN_HOLD(vp) VREF(((struct vnode *)(vp)))
71 #endif /* AFS_PARAM_H */
73 #else /* !defined(UKERNEL) */
75 /* This section for user space compiles only */
80 #define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
84 #include <afs/afs_sysnames.h>
85 #define AFS_USERSPACE_ENV
86 #define AFS_USR_DARWIN_ENV
87 #define AFS_USR_DARWIN70_ENV
89 #define AFS_NONFSTRANS
90 #define AFS_SYSCALL 230
91 #define DARWIN_REFBASE 0
93 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
94 #define AFS_MOUNT_AFS "afs"
96 /* Machine / Operating system information */
97 #define sys_ppc_darwin_12 1
98 #define sys_ppc_darwin_13 1
99 #define sys_ppc_darwin_14 1
100 #define sys_ppc_darwin_60 1
101 #define sys_ppc_darwin_70 1
102 #define SYS_NAME "ppc_darwin_70"
103 #define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_70
104 #define AFSBIG_ENDIAN 1
105 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
107 #define AFS_UIOSYS UIO_SYSSPACE
108 #define AFS_UIOUSER UIO_USERSPACE
110 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
111 #define RXK_LISTENER_ENV 1
113 #define AFS_VFS34 1 /* What is VFS34??? */
114 #define afsio_iov uio_iov
115 #define afsio_iovcnt uio_iovcnt
116 #define afsio_offset uio_offset
117 #define afsio_seg uio_segflg
118 #define afsio_resid uio_resid
119 #define AFS_UIOSYS UIO_SYSSPACE
120 #define AFS_UIOUSER UIO_USERSPACE
121 #define VATTR_NULL usr_vattr_null
128 #define BIND_8_COMPAT
129 #endif /* AFS_PARAM_H */
131 #endif /* !defined(UKERNEL) */