Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / config / param.obsd32.h
CommitLineData
805e021f
CE
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
23#undef AFS_NONFSTRANS
24#define AFS_NONFSTRANS 1
25#define AFS_VFS_ENV 1
26#define AFS_VFSINCL_ENV 1
27
28#define FTRUNC O_TRUNC
29
30#define AFS_SYSCALL 208
31#define AFS_MOUNT_AFS "afs"
32
33#define RXK_LISTENER_ENV 1
34#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
35#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
36
37#ifndef IGNORE_STDS_H
38#include <afs/afs_sysnames.h>
39#endif
40
41/* Extra kernel definitions (from kdefs file) */
42#ifdef _KERNEL
43#define AFS_GLOBAL_SUNLOCK 1
44
45#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
46enum vcexcl { NONEXCL, EXCL };
47
48#ifndef MIN
49#define MIN(A,B) ((A) < (B) ? (A) : (B))
50#endif
51#ifndef MAX
52#define MAX(A,B) ((A) > (B) ? (A) : (B))
53#endif
54
55#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
56#endif /* _KERNEL */
57
58#endif /* AFS_PARAM_H */