Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / src / config / param.obsd34.h
blob177b331e4dbc0c8299ad51fd0db9c64d706a23ee
1 /*
2 * Thanks to Jim Rees and University of Michigan CITI, for the initial
3 * OpenBSD porting work.
4 */
6 #ifndef AFS_PARAM_H
7 #define AFS_PARAM_H
9 #ifndef IGNORE_STDS_H
10 #include <sys/param.h>
11 #endif
13 #define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
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 */
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
25 #undef AFS_NONFSTRANS
26 #define AFS_NONFSTRANS 1
27 #define AFS_VFS_ENV 1
28 #define AFS_VFSINCL_ENV 1
30 #define FTRUNC O_TRUNC
32 #define AFS_SYSCALL 208
33 #define AFS_MOUNT_AFS "afs"
35 #define RXK_LISTENER_ENV 1
36 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
37 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
39 #ifndef IGNORE_STDS_H
40 #include <afs/afs_sysnames.h>
41 #endif
43 /* Extra kernel definitions (from kdefs file) */
44 #ifdef _KERNEL
45 #ifdef MULTIPROCESSOR
46 #define AFS_GLOBAL_SUNLOCK 1
47 #endif
49 #if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
50 enum vcexcl { NONEXCL, EXCL };
52 #ifndef MIN
53 #define MIN(A,B) ((A) < (B) ? (A) : (B))
54 #endif
55 #ifndef MAX
56 #define MAX(A,B) ((A) > (B) ? (A) : (B))
57 #endif
59 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
60 #endif /* _KERNEL */
62 #endif /* AFS_PARAM_H */