Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / config / param.obsd52.h
1 /*
2 * Thanks to Jim Rees and University of Michigan CITI, for the initial
3 * OpenBSD porting work.
4 */
5
6 #ifndef AFS_PARAM_H
7 #define AFS_PARAM_H
8
9 #ifndef IGNORE_STDS_H
10 #include <sys/param.h>
11 #endif
12
13 #define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
14
15 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
16 #define AFS_64BIT_CLIENT 1
17 #define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
18
19 #define AFS_OBSD_ENV 1
20 #define AFS_OBSD31_ENV 1
21 #define AFS_OBSD32_ENV 1
22 #define AFS_OBSD33_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_OBSD48_ENV 1
38 #define AFS_OBSD49_ENV 1
39 #define AFS_OBSD50_ENV 1
40 #define AFS_OBSD51_ENV 1
41 #define AFS_OBSD52_ENV 1
42 #undef AFS_NONFSTRANS
43 #define AFS_NONFSTRANS 1
44 #define AFS_VFS_ENV 1
45 #define AFS_VFSINCL_ENV 1
46
47 #define FTRUNC O_TRUNC
48
49 #define AFS_SYSCALL 208
50 #define AFS_MOUNT_AFS "afs"
51
52 #define RXK_LISTENER_ENV 1
53 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
54 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
55
56 #ifndef IGNORE_STDS_H
57 #include <afs/afs_sysnames.h>
58 #endif
59
60 #ifndef TAILQ_ENTRY
61 #include <sys/queue.h>
62 #endif
63
64 /* Extra kernel definitions (from kdefs file) */
65 #ifdef _KERNEL
66 #ifdef MULTIPROCESSOR
67 #define AFS_GLOBAL_SUNLOCK 1
68 #endif
69
70 #if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
71 enum vcexcl { NONEXCL, EXCL };
72
73 #ifndef MIN
74 #define MIN(A,B) ((A) < (B) ? (A) : (B))
75 #endif
76 #ifndef MAX
77 #define MAX(A,B) ((A) > (B) ? (A) : (B))
78 #endif
79
80 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
81 #endif /* _KERNEL */
82
83 #endif /* AFS_PARAM_H */