macos-rollup-20051013
[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
26 #define AFS_BOZONLOCK_ENV 1
27
28 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
29 #define AFS_MOUNT_AFS    "afs"
30
31 /* Machine / Operating system information */
32 #define sys_ppc_darwin_12   1
33 #define sys_ppc_darwin_13   1
34 #define sys_ppc_darwin_14   1
35 #define sys_ppc_darwin_60   1
36 #define sys_ppc_darwin_70   1
37 #define sys_ppc_darwin_80   1
38 #define SYS_NAME        "ppc_darwin_80"
39 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_80
40 #define AFSBIG_ENDIAN   1
41 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
42
43 #define AFS_GCPAGS               0
44 #define RXK_LISTENER_ENV         1
45
46 #ifdef KERNEL
47 #undef MACRO_BEGIN
48 #undef MACRO_END
49 #include <kern/macro_help.h>
50 #define AFS_GLOBAL_SUNLOCK        1
51 #define AFS_VFS34       1       /* What is VFS34??? */
52 #define afsio_iov       uio_iov
53 #define afsio_iovcnt    uio_iovcnt
54 #define afsio_offset    uio_offset
55 #define afsio_seg       uio_segflg
56 #define afsio_resid     uio_resid
57 #define AFS_UIOSYS      UIO_SYSSPACE
58 #define AFS_UIOUSER     UIO_USERSPACE
59 #define AFS_CLBYTES     CLBYTES
60 #define osi_GetTime(x)  microtime(x)
61 #define AFS_KALLOC(x)   _MALLOC(x, M_TEMP, M_WAITOK)
62 #define AFS_KFREE(x,y)  _FREE(x,M_TEMP)
63 #define v_count         v_usecount
64 #define v_vfsp          v_mount
65 #define vfs_bsize       mnt_stat.f_bsize
66 #define vfs_fsid        mnt_stat.f_fsid
67 #define va_nodeid       va_fileid
68 #define vfs_vnodecovered mnt_vnodecovered
69 #define direct          dirent
70
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_USR_DARWIN80_ENV
96 #define AFS_NONFSTRANS
97 #define AFS_SYSCALL             230
98 #define DARWIN_REFBASE 0
99
100 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
101 #define AFS_MOUNT_AFS    "afs"
102
103 /* Machine / Operating system information */
104 #define sys_ppc_darwin_12   1
105 #define sys_ppc_darwin_13   1
106 #define sys_ppc_darwin_14   1
107 #define sys_ppc_darwin_60   1
108 #define sys_ppc_darwin_70   1
109 #define sys_ppc_darwin_80   1
110 #define SYS_NAME        "ppc_darwin_80"
111 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_80
112 #define AFSBIG_ENDIAN   1
113 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
114
115 #define AFS_UIOSYS      UIO_SYSSPACE
116 #define AFS_UIOUSER     UIO_USERSPACE
117
118 #define AFS_GCPAGS                0     /* if nonzero, garbage collect PAGs */
119 #define RXK_LISTENER_ENV          1
120
121 #define AFS_VFS34       1       /* What is VFS34??? */
122 #define afsio_iov       uio_iov
123 #define afsio_iovcnt    uio_iovcnt
124 #define afsio_offset    uio_offset
125 #define afsio_seg       uio_segflg
126 #define afsio_resid     uio_resid
127 #define AFS_UIOSYS      UIO_SYSSPACE
128 #define AFS_UIOUSER     UIO_USERSPACE
129 #define        VATTR_NULL      usr_vattr_null
130
131 #define AFS_DIRENT
132 #ifndef CMSERVERPREF
133 #define CMSERVERPREF
134 #endif
135
136 #define BIND_8_COMPAT
137 #endif /* AFS_PARAM_H */
138
139 #endif /* !defined(UKERNEL) */