kill macos prior to panther
[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_DARWIN70_ENV
17 #undef  AFS_NONFSTRANS
18 #define AFS_NONFSTRANS
19 #define AFS_SYSCALL             230
20 #define AFS_NAMEI_ENV 1
21 #define DARWIN_REFBASE 3
22
23 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
24 #define AFS_MOUNT_AFS    "afs"
25
26 /* Machine / Operating system information */
27 #define sys_ppc_darwin_12   1
28 #define sys_ppc_darwin_13   1
29 #define sys_ppc_darwin_14   1
30 #define sys_ppc_darwin_60   1
31 #define sys_ppc_darwin_70   1
32 #define SYS_NAME        "ppc_darwin_70"
33 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_70
34 #define AFSBIG_ENDIAN   1
35 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
36
37 #define AFS_GCPAGS                1     /* if nonzero, garbage collect PAGs */
38 #define RXK_LISTENER_ENV         1
39
40 #ifdef KERNEL
41 #undef MACRO_BEGIN
42 #undef MACRO_END
43 #include <kern/macro_help.h>
44 #define AFS_GLOBAL_SUNLOCK        1
45 #define AFS_VFS34       1       /* What is VFS34??? */
46 #define afsio_iov       uio_iov
47 #define afsio_iovcnt    uio_iovcnt
48 #define afsio_offset    uio_offset
49 #define afsio_seg       uio_segflg
50 #define afsio_resid     uio_resid
51 #define AFS_UIOSYS      UIO_SYSSPACE
52 #define AFS_UIOUSER     UIO_USERSPACE
53 #define AFS_CLBYTES     CLBYTES
54 #define osi_GetTime(x)  microtime(x)
55 #define AFS_KALLOC(x)   kalloc(x)
56 #define AFS_KFREE(x,y)  kfree(x,y)
57 #define v_count         v_usecount
58 #define v_vfsp          v_mount
59 #define vfs_bsize       mnt_stat.f_bsize
60 #define vfs_fsid        mnt_stat.f_fsid
61 #define va_nodeid       va_fileid
62 #define vfs_vnodecovered mnt_vnodecovered
63 #define direct          dirent
64 #define vnode_t         struct vnode *
65 #define mount_t         struct mount *
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_DARWIN70_ENV
90 #undef  AFS_NONFSTRANS
91 #define AFS_NONFSTRANS
92 #define AFS_SYSCALL             230
93 #define DARWIN_REFBASE 0
94
95 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
96 #define AFS_MOUNT_AFS    "afs"
97
98 /* Machine / Operating system information */
99 #define sys_ppc_darwin_12   1
100 #define sys_ppc_darwin_13   1
101 #define sys_ppc_darwin_14   1
102 #define sys_ppc_darwin_60   1
103 #define sys_ppc_darwin_70   1
104 #define SYS_NAME        "ppc_darwin_70"
105 #define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_70
106 #define AFSBIG_ENDIAN   1
107 #define AFS_HAVE_FFS    1       /* Use system's ffs. */
108
109 #define AFS_UIOSYS      UIO_SYSSPACE
110 #define AFS_UIOUSER     UIO_USERSPACE
111
112 #define AFS_GCPAGS                0     /* if nonzero, garbage collect PAGs */
113 #define RXK_LISTENER_ENV          1
114
115 #define AFS_VFS34       1       /* What is VFS34??? */
116 #define afsio_iov       uio_iov
117 #define afsio_iovcnt    uio_iovcnt
118 #define afsio_offset    uio_offset
119 #define afsio_seg       uio_segflg
120 #define afsio_resid     uio_resid
121 #define AFS_UIOSYS      UIO_SYSSPACE
122 #define AFS_UIOUSER     UIO_USERSPACE
123 #define        VATTR_NULL      usr_vattr_null
124
125 #define AFS_DIRENT
126 #ifndef CMSERVERPREF
127 #define CMSERVERPREF
128 #endif
129
130 #define BIND_8_COMPAT
131 #endif /* AFS_PARAM_H */
132
133 #endif /* !defined(UKERNEL) */