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