71902125857c7c014a111ede49e3d2c8d63f4885
[openafs.git] / src / config / param.i386_obsd31.h
1 /*
2  * Jim Rees, University of Michigan CITI
3  */
4
5 #ifndef AFS_PARAM_H
6 #define AFS_PARAM_H
7
8 #ifndef IGNORE_STDS_H
9 #include <sys/param.h>
10 #include <afs/afs_sysnames.h>
11 #endif
12
13 #define AFS_XBSD_ENV            1       /* {Free,Open,Net}BSD */
14 #define AFS_X86_XBSD_ENV        1
15
16 #define AFS_NAMEI_ENV           1       /* User space interface to file system */
17 #define AFS_64BIT_IOPS_ENV      1       /* Needed for NAMEI */
18 #define AFS_OBSD_ENV            1
19 #define AFS_NONFSTRANS          1
20 #define AFS_KERBEROS_ENV        1
21 #define AFS_VM_RDWR_ENV         1
22 #define AFS_VFS_ENV             1
23 #define AFS_VFSINCL_ENV         1
24
25 #define FTRUNC O_TRUNC
26
27 #define AFS_SYSCALL     208
28 #define AFS_MOUNT_AFS   "afs"
29
30 #define SYS_NAME        "i386_obsd31"
31 #define SYS_NAME_ID     2002
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 #define AFSLITTLE_ENDIAN        1
38
39 /* Extra kernel definitions (from kdefs file) */
40 #ifdef _KERNEL
41 #define AFS_GLOBAL_SUNLOCK      1
42 #define AFS_SHORTGID            0       /* are group id's short? */
43
44 #if     !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
45 enum vcexcl {NONEXCL, EXCL};
46
47 #ifndef MIN
48 #define MIN(A,B) ((A) < (B) ? (A) : (B))
49 #endif
50 #ifndef MAX
51 #define MAX(A,B) ((A) > (B) ? (A) : (B))
52 #endif
53
54 #endif  /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
55 #endif /* _KERNEL */
56
57 #endif /* AFS_PARAM_H */