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