2 /* This section for kernel libafs compiles only */
5 * Copyright 2000, International Business Machines Corporation and others.
8 * This software has been released under the terms of the IBM Public
9 * License. For details, see the LICENSE file in the top-level source
10 * directory or online at http://www.openafs.org/dl/license10.html
16 #define AFS_NONFSTRANS
17 #define AFS_DJGPP_ENV /* win95 env. */
19 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
20 #define AFS_SYSCALL 137
21 #include <afs/afs_sysnames.h>
23 #define AFS_USERSPACE_IP_ADDR 1
24 #define RXK_LISTENER_ENV 1
25 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
28 /* Machine / Operating system information */
29 #define SYS_NAME "i386_win9x"
30 #define SYS_NAME_ID SYS_NAME_ID_i386_win9x
31 #define AFSLITTLE_ENDIAN 1
32 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
33 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
34 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
36 #endif /* AFS_PARAM_H */
38 #else /* !defined(UKERNEL) */
40 /* This section for user space compiles only */
43 * Copyright 2000, International Business Machines Corporation and others.
44 * All Rights Reserved.
46 * This software has been released under the terms of the IBM Public
47 * License. For details, see the LICENSE file in the top-level source
48 * directory or online at http://www.openafs.org/dl/license10.html
54 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
55 * it's a judgment call. If something is obviously i386 specific, use that
56 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
57 * in the sysname is the current version of the client. This takes into
58 * account the perferred OS user space configuration as well as the kernel.
61 #define UKERNEL 1 /* user space kernel */
63 #define AFS_USR_LINUX20_ENV 1
64 #define AFS_USR_LINUX22_ENV 1
65 #define AFS_NONFSTRANS 1
67 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
68 #define AFS_SYSCALL 137
69 #define AFS_64BIT_IOPS_ENV 1
70 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
71 #include <afs/afs_sysnames.h>
73 #define AFS_USERSPACE_IP_ADDR 1
74 #define RXK_LISTENER_ENV 1
75 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
78 /* Machine / Operating system information */
79 #define SYS_NAME "i386_linux22"
80 #define SYS_NAME_ID SYS_NAME_ID_i386_linux22
81 #define AFSLITTLE_ENDIAN 1
82 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
83 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
84 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
86 #define afsio_iov uio_iov
87 #define afsio_iovcnt uio_iovcnt
88 #define afsio_offset uio_offset
89 #define afsio_seg uio_segflg
90 #define afsio_fmode uio_fmode
91 #define afsio_resid uio_resid
93 #define AFS_UIOUSER UIO_USERSPACE
94 #define AFS_CLBYTES MCLBYTES
95 #define AFS_MINCHANGE 2
96 #define VATTR_NULL usr_vattr_null
103 #endif /* AFS_PARAM_H */
105 #endif /* !defined(UKERNEL) */