2ab604c32b8eff19c06be3fcc94f67e785b49882
[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               0
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
70 #define BIND_8_COMPAT
71
72 #endif
73 #endif /* AFS_PARAM_H */
74
75 #else /* !defined(UKERNEL) */
76
77 /* This section for user space compiles only */
78
79 #ifndef AFS_PARAM_H
80 #define AFS_PARAM_H
81
82 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
83 #define AFS_ENV                 1
84 #define AFS_64BIT_ENV           1       /* Defines afs_int32 as int, not long. */
85 #define AFS_PPC_ENV 1
86
87 #include <afs/afs_sysnames.h>
88 #define AFS_USERSPACE_ENV
89 #define AFS_USR_DARWIN_ENV
90 #define AFS_USR_DARWIN13_ENV
91 #define AFS_USR_DARWIN14_ENV
92 #define AFS_USR_DARWIN60_ENV
93 #define AFS_USR_DARWIN70_ENV
94 #define AFS_USR_DARWIN80_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_ppc_darwin_80   1
109 #define SYS_NAME        "ppc_darwin_80"
110 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_80
111 #define AFSBIG_ENDIAN   1
112 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
113
114 #define AFS_UIOSYS      UIO_SYSSPACE
115 #define AFS_UIOUSER     UIO_USERSPACE
116
117 #define AFS_GCPAGS                0     /* if nonzero, garbage collect PAGs */
118 #define RXK_LISTENER_ENV          1
119
120 #define AFS_VFS34       1       /* What is VFS34??? */
121 #define afsio_iov       uio_iov
122 #define afsio_iovcnt    uio_iovcnt
123 #define afsio_offset    uio_offset
124 #define afsio_seg       uio_segflg
125 #define afsio_resid     uio_resid
126 #define AFS_UIOSYS      UIO_SYSSPACE
127 #define AFS_UIOUSER     UIO_USERSPACE
128 #define        VATTR_NULL      usr_vattr_null
129
130 #define AFS_DIRENT
131 #ifndef CMSERVERPREF
132 #define CMSERVERPREF
133 #endif
134
135 #define BIND_8_COMPAT
136 #endif /* AFS_PARAM_H */
137
138 #endif /* !defined(UKERNEL) */