922aac79ca908c09bac640283d798102627a033e
[openafs.git] / src / config / param.i386_obsd47.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 #endif
11
12 #define SYS_NAME                "i386_obsd47"
13 #define SYS_NAME_ID             SYS_NAME_ID_i386_obsd47
14
15 #define AFS_XBSD_ENV            1       /* {Free,Open,Net}BSD */
16 #define AFS_X86_XBSD_ENV        1
17
18 #define AFS_NAMEI_ENV           1       /* User space interface to file system */
19 #define AFS_64BIT_CLIENT        1
20 #define AFS_64BIT_IOPS_ENV      1       /* Needed for NAMEI */
21 #define AFS_OBSD_ENV            1
22 #define AFS_OBSD34_ENV          1
23 #define AFS_OBSD35_ENV          1
24 #define AFS_OBSD36_ENV          1
25 #define AFS_OBSD37_ENV          1
26 #define AFS_OBSD38_ENV          1
27 #define AFS_OBSD39_ENV          1
28 #define AFS_OBSD40_ENV          1
29 #define AFS_OBSD41_ENV          1
30 #define AFS_OBSD42_ENV          1
31 #define AFS_OBSD43_ENV          1
32 #define AFS_OBSD44_ENV          1
33 #define AFS_OBSD45_ENV          1
34 #define AFS_OBSD46_ENV          1
35 #define AFS_OBSD47_ENV          1
36 #define AFS_NONFSTRANS          1
37 #define AFS_VM_RDWR_ENV         1
38 #define AFS_VFS_ENV             1
39 #define AFS_VFSINCL_ENV         1
40
41 #define FTRUNC O_TRUNC
42
43 #define AFS_SYSCALL             208
44 #define AFS_MOUNT_AFS           "afs"
45
46 #define RXK_LISTENER_ENV        1
47 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
48 #define AFS_USE_GETTIMEOFDAY    1       /* use gettimeofday to implement rx clock */
49
50 #define AFSLITTLE_ENDIAN        1
51
52 #ifndef IGNORE_STDS_H
53 #include <afs/afs_sysnames.h>
54 #endif
55
56 /* Extra kernel definitions (from kdefs file) */
57 #ifdef _KERNEL
58 #ifdef MULTIPROCESSOR
59 #define AFS_GLOBAL_SUNLOCK      1
60 #endif
61 #define AFS_SHORTGID            0       /* are group id's short? */
62
63 #if     !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
64 enum vcexcl { NONEXCL, EXCL };
65
66 #ifndef MIN
67 #define MIN(A,B) ((A) < (B) ? (A) : (B))
68 #endif
69 #ifndef MAX
70 #define MAX(A,B) ((A) > (B) ? (A) : (B))
71 #endif
72
73 #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
74 #endif /* _KERNEL */
75
76 #endif /* AFS_PARAM_H */