make openafs 1.5.75
[openafs.git] / src / config / param.obsd38.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_ENV           1
17 #define AFS_64BIT_CLIENT        1
18 #define AFS_64BIT_IOPS_ENV      1       /* Needed for NAMEI */
19
20 #define AFS_OBSD_ENV            1
21 #define AFS_OBSD31_ENV          1
22 #define AFS_OBSD32_ENV          1
23 #define AFS_OBSD33_ENV          1
24 #define AFS_OBSD34_ENV          1
25 #define AFS_OBSD35_ENV          1
26 #define AFS_OBSD36_ENV          1
27 #define AFS_OBSD37_ENV          1
28 #define AFS_OBSD38_ENV          1
29
30 #undef  AFS_NONFSTRANS
31 #define AFS_NONFSTRANS          1
32 #define AFS_VM_RDWR_ENV         1
33 #define AFS_VFS_ENV             1
34 #define AFS_VFSINCL_ENV         1
35
36 #define FTRUNC O_TRUNC
37
38 #define AFS_SYSCALL             208
39 #define AFS_MOUNT_AFS           "afs"
40
41 #define RXK_LISTENER_ENV        1
42 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
43 #define AFS_USE_GETTIMEOFDAY    1       /* use gettimeofday to implement rx clock */
44
45 #ifndef IGNORE_STDS_H
46 #include <afs/afs_sysnames.h>
47 #endif
48
49 /* Extra kernel definitions (from kdefs file) */
50 #ifdef _KERNEL
51 #ifdef MULTIPROCESSOR
52 #define AFS_GLOBAL_SUNLOCK      1
53 #endif
54 #define AFS_SHORTGID            0       /* are group id's short? */
55
56 #if     !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
57 enum vcexcl { NONEXCL, EXCL };
58
59 #ifndef MIN
60 #define MIN(A,B) ((A) < (B) ? (A) : (B))
61 #endif
62 #ifndef MAX
63 #define MAX(A,B) ((A) > (B) ? (A) : (B))
64 #endif
65
66 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
67 #endif /* _KERNEL */
68
69 #endif /* AFS_PARAM_H */