Linux: Don't preprocess osi_vfs.h
[openafs.git] / src / config / param.i386_obsd47.h
1 /*
2  * Jim Rees, University of Michigan CITI
3  */
4
5 #ifndef AFS_PARAM_H
6 #define AFS_PARAM_H
7
8 #ifndef IGNORE_STDS_H
9 #include <sys/param.h>
10 #endif
11
12 #define SYS_NAME                "i386_obsd47"
13 #define SYS_NAME_ID             SYS_NAME_ID_i386_obsd47
14
15 #define AFS_XBSD_ENV            1       /* {Free,Open,Net}BSD */
16 #define AFS_X86_XBSD_ENV        1
17
18 #define AFS_NAMEI_ENV           1       /* User space interface to file system */
19 #define AFS_64BIT_ENV           1
20 #define AFS_64BIT_CLIENT        1
21 #define AFS_64BIT_IOPS_ENV      1       /* Needed for NAMEI */
22 #define AFS_OBSD_ENV            1
23 #define AFS_OBSD34_ENV          1
24 #define AFS_OBSD35_ENV          1
25 #define AFS_OBSD36_ENV          1
26 #define AFS_OBSD37_ENV          1
27 #define AFS_OBSD38_ENV          1
28 #define AFS_OBSD39_ENV          1
29 #define AFS_OBSD40_ENV          1
30 #define AFS_OBSD41_ENV          1
31 #define AFS_OBSD42_ENV          1
32 #define AFS_OBSD43_ENV          1
33 #define AFS_OBSD44_ENV          1
34 #define AFS_OBSD45_ENV          1
35 #define AFS_OBSD46_ENV          1
36 #define AFS_OBSD47_ENV          1
37 #define AFS_NONFSTRANS          1
38 #define AFS_VM_RDWR_ENV         1
39 #define AFS_VFS_ENV             1
40 #define AFS_VFSINCL_ENV         1
41
42 #define FTRUNC O_TRUNC
43
44 #define AFS_SYSCALL             208
45 #define AFS_MOUNT_AFS           "afs"
46
47 #define RXK_LISTENER_ENV        1
48 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
49 #define AFS_USE_GETTIMEOFDAY    1       /* use gettimeofday to implement rx clock */
50
51 #define AFSLITTLE_ENDIAN        1
52
53 #ifndef IGNORE_STDS_H
54 #include <afs/afs_sysnames.h>
55 #endif
56
57 /* Extra kernel definitions (from kdefs file) */
58 #ifdef _KERNEL
59 #ifdef MULTIPROCESSOR
60 #define AFS_GLOBAL_SUNLOCK      1
61 #endif
62 #define AFS_SHORTGID            0       /* are group id's short? */
63
64 #if     !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
65 enum vcexcl { NONEXCL, EXCL };
66
67 #ifndef MIN
68 #define MIN(A,B) ((A) < (B) ? (A) : (B))
69 #endif
70 #ifndef MAX
71 #define MAX(A,B) ((A) > (B) ? (A) : (B))
72 #endif
73
74 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
75 #endif /* _KERNEL */
76
77 #endif /* AFS_PARAM_H */