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