fix-checked-build-libraries-20031203
[openafs.git] / src / config / param.i386_djgpp.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 /*
5  * Copyright 2000, International Business Machines Corporation and others.
6  * All Rights Reserved.
7  *
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
11  */
12
13 #ifndef AFS_PARAM_H
14 #define AFS_PARAM_H
15
16 #define AFS_NONFSTRANS
17 #define AFS_DJGPP_ENV           /* win95 env. */
18
19 #define AFS_MOUNT_AFS "afs"     /* The name of the filesystem type. */
20 #define AFS_SYSCALL 137
21 #include <afs/afs_sysnames.h>
22
23 #define AFS_USERSPACE_IP_ADDR 1
24 #define RXK_LISTENER_ENV 1
25 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
26
27
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 */
35
36 #endif /* AFS_PARAM_H */
37
38 #else /* !defined(UKERNEL) */
39
40 /* This section for user space compiles only */
41
42 /*
43  * Copyright 2000, International Business Machines Corporation and others.
44  * All Rights Reserved.
45  * 
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
49  */
50
51 #ifndef AFS_PARAM_H
52 #define AFS_PARAM_H
53
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.
59  */
60
61 #define UKERNEL                 1       /* user space kernel */
62 #define AFS_ENV                 1
63 #define AFS_USR_LINUX20_ENV     1
64 #define AFS_USR_LINUX22_ENV     1
65 #define AFS_NONFSTRANS 1
66
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>
72
73 #define AFS_USERSPACE_IP_ADDR 1
74 #define RXK_LISTENER_ENV 1
75 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
76
77
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 */
85
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
92 #define AFS_UIOSYS      1
93 #define AFS_UIOUSER     UIO_USERSPACE
94 #define AFS_CLBYTES     MCLBYTES
95 #define AFS_MINCHANGE   2
96 #define VATTR_NULL      usr_vattr_null
97
98 #define AFS_DIRENT
99 #ifndef CMSERVERPREF
100 #define CMSERVERPREF
101 #endif
102
103 #endif /* AFS_PARAM_H */
104
105 #endif /* !defined(UKERNEL) */