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