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