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