fix-checked-build-libraries-20031203
[openafs.git] / src / config / param.i386_nbsd16.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 #ifndef AFS_PARAM_H
5 #define AFS_PARAM_H
6
7 #ifndef IGNORE_STDS_H
8 #include <sys/param.h>
9 #endif
10
11 #define AFS_X86_XBSD_ENV 1
12
13 #define AFS_X86_ENV 1
14
15 #define SYS_NAME       "i386_nbsd16"
16 #define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd16
17
18 #define AFSLITTLE_ENDIAN 1
19
20 #endif /* AFS_PARAM_H */
21
22 #else /* !defined(UKERNEL) */
23
24 /* This section for user space compiles only */
25
26 #ifndef AFS_PARAM_H
27 #define AFS_PARAM_H
28
29
30 #define UKERNEL                 1       /* user space kernel */
31 #define AFS_ENV                 1
32 #define AFS_VFSINCL_ENV         1
33 #define AFS_NBSD_ENV            1
34 #define AFS_NBSD15_ENV          1
35 #define AFS_NONFSTRANS 1
36 #define AFS_KERBEROS_ENV
37
38 #define AFS_MOUNT_AFS "afs"     /* The name of the filesystem type. */
39 #define AFS_SYSCALL 210
40 #define AFS_NAMEI_ENV         1 /* User space interface to file system */
41 #define AFS_64BIT_IOPS_ENV    1 /* Needed for NAMEI */
42 #include <afs/afs_sysnames.h>
43
44 #define AFS_USERSPACE_IP_ADDR 1
45 #define RXK_LISTENER_ENV      1
46 #define AFS_GCPAGS            0 /* if nonzero, garbage collect PAGs */
47
48 /* Machine / Operating system information */
49 #define SYS_NAME       "i386_nbsd16"
50 #define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd16
51 #define AFSLITTLE_ENDIAN    1
52 #define AFS_HAVE_FFS        1   /* Use system's ffs. */
53 #define AFS_HAVE_STATVFS    0   /* System doesn't support statvfs */
54 #define AFS_VM_RDWR_ENV     1   /* read/write implemented via VM */
55
56 #define afsio_iov       uio_iov
57 #define afsio_iovcnt    uio_iovcnt
58 #define afsio_offset    uio_offset
59 #define afsio_seg       uio_segflg
60 #define afsio_fmode     uio_fmode
61 #define afsio_resid     uio_resid
62 #define AFS_UIOSYS      1
63 #define AFS_UIOUSER     UIO_USERSPACE
64 #define AFS_CLBYTES     MCLBYTES
65 #define AFS_MINCHANGE   2
66 #define VATTR_NULL      usr_vattr_null
67
68 #define AFS_DIRENT
69 #ifndef CMSERVERPREF
70 #define CMSERVERPREF
71 #endif
72
73 #include <limits.h>
74 #include <sys/param.h>
75 #include <sys/types.h>
76 #include <sys/mount.h>
77 #include <sys/fcntl.h>
78 #include <netinet/in.h>
79 #include <sys/uio.h>
80 #include <sys/socket.h>
81
82 #endif /* AFS_PARAM_H */
83
84 #endif /* !defined(UKERNEL) */