2 /* This section for kernel libafs compiles only */
11 #define AFS_X86_XBSD_ENV 1
15 #define SYS_NAME "i386_nbsd20"
16 #define SYS_NAME_ID SYS_NAME_ID_i386_nbsd20
18 #define AFSLITTLE_ENDIAN 1
20 #endif /* AFS_PARAM_H */
22 #else /* !defined(UKERNEL) */
24 /* This section for user space compiles only */
30 #define UKERNEL 1 /* user space kernel */
32 #define AFS_VFSINCL_ENV 1
33 #define AFS_NBSD_ENV 1
34 #define AFS_NBSD15_ENV 1
35 #define AFS_NBSD16_ENV 1
36 #define AFS_NBSD20_ENV 1
37 #define AFS_NONFSTRANS 1
38 #define AFS_KERBEROS_ENV
40 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
41 #define AFS_SYSCALL 210
42 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
43 #define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
44 #include <afs/afs_sysnames.h>
46 #define AFS_USERSPACE_IP_ADDR 1
47 #define RXK_LISTENER_ENV 1
48 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
50 /* Machine / Operating system information */
51 #define SYS_NAME "i386_nbsd16"
52 #define SYS_NAME_ID SYS_NAME_ID_i386_nbsd16
53 #define AFSLITTLE_ENDIAN 1
54 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
55 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
56 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
58 #define afsio_iov uio_iov
59 #define afsio_iovcnt uio_iovcnt
60 #define afsio_offset uio_offset
61 #define afsio_seg uio_segflg
62 #define afsio_fmode uio_fmode
63 #define afsio_resid uio_resid
65 #define AFS_UIOUSER UIO_USERSPACE
66 #define AFS_CLBYTES MCLBYTES
67 #define AFS_MINCHANGE 2
68 #define VATTR_NULL usr_vattr_null
76 #include <sys/param.h>
77 #include <sys/types.h>
78 #include <sys/mount.h>
79 #include <sys/fcntl.h>
80 #include <netinet/in.h>
82 #include <sys/socket.h>
84 #endif /* AFS_PARAM_H */
86 #endif /* !defined(UKERNEL) */