2 * Thanks to Jim Rees and University of Michigan CITI, for the initial
3 * OpenBSD porting work.
6 /* OpenBSD shared section */
12 #include <sys/param.h>
15 #define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
17 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
18 #define AFS_64BIT_CLIENT 1
19 #define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
21 #define AFS_OBSD_ENV 1
22 #define AFS_OBSD31_ENV 1
25 #define AFS_NONFSTRANS 1
26 #define AFS_VM_RDWR_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 */
40 #include <afs/afs_sysnames.h>
43 /* Extra kernel definitions (from kdefs file) */
45 #define AFS_GLOBAL_SUNLOCK 1
46 #define AFS_SHORTGID 0 /* are group id's short? */
48 #if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
49 enum vcexcl { NONEXCL, EXCL };
52 #define MIN(A,B) ((A) < (B) ? (A) : (B))
55 #define MAX(A,B) ((A) > (B) ? (A) : (B))
58 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
61 #endif /* AFS_PARAM_H */