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